News for hackers. Stuff that matters.
Re:What programming languages are used most on weekends? by bootload on Wednesday February 08, 2017 @04:27AM (#13596982)
"Then again, sed works differently on different platforms"

Well that kills my idea why to use awk/sed. What would you use @freehunter?

Re:What programming languages are used most on weekends? by pjmlp on Wednesday February 08, 2017 @08:34AM (#13598032)
Perl, Python, Ruby
Re:What programming languages are used most on weekends? by bootload on Wednesday February 08, 2017 @08:02PM (#13603720)
True, defeats the idea of a one liner in bash/awk/sed.
Re:What programming languages are used most on weekends? by freehunter on Wednesday February 08, 2017 @08:08PM (#13603751)
Well the beauty of one-liners is that they're quick and dirty. They don't need to be portable, you don't usually maintain a one-liner for years. If you need something portable, you should use a real cross-platform language like Perl, Python, etc. Something that's independent of the OS you're running.
Re:What programming languages are used most on weekends? by bootload on Thursday February 09, 2017 @07:25PM (#13612305)
"Well the beauty of one-liners is that they're quick and dirty. They don't need to be portable, you don't usually maintain a one-liner for years."

Given that description, I'd agree. Now I understand the crux of the problem, problem solved using disposable code in terse language or script.