News for hackers. Stuff that matters.
Re:Something about functions in Bash (2017) by pas on Thursday July 05, 2018 @03:13PM (#17465933)
> Not only do these tricks make your code nicer [...]

Huh.

Re:Something about functions in Bash (2017) by zzzeek on Thursday July 05, 2018 @03:15PM (#17465955)
for context, author of blog post has written two published Perl books. To make matters worse, they are called "Perl One Liners", "Perl One Liners Explained".
Re:Something about functions in Bash (2017) by bewuethr on Friday July 06, 2018 @11:51AM (#17472402)
To clarify: "Perl One-Liners Explained" is self-published, and "Perl One-Liners" is based on it and published by No Starch Press. Not sure why that makes "matters worse"?

He also self-published "Awk One-Liners Explained" and "Sed One-Liners Explained" and has a "Bash One-Liners Explained" in the pipeline, see http://www.catonmat.net/books

Re:Something about functions in Bash (2017) by jschwartzi on Thursday July 05, 2018 @05:38PM (#17467056)
I have a similar knee-jerk reaction to one-liners from a maintainability standpoint. I have this mental vision of Perl or Shell that looks like Brainfuck.
Re:Something about functions in Bash (2017) by psetq on Thursday July 05, 2018 @03:17PM (#17465978)
Curiously, the article was published on April 1st. Just a coincidence perhaps...