News for hackers. Stuff that matters.
Re:Functional programming and the death of the Unix Way by judgej2 on Sunday March 25, 2012 @07:24PM (#3754207)
Often times I’ll want to grab just one part of a command’s output to use for the input of another command. Sometimes I can use grep to do this, and sometimes grep isn’t quite flexible enough and sed is required. The regular expression required to get sed to do the right thing is often complex on its own, and of course the flags need to be set appropriately. If the data format is in columns, sometimes cut can be simpler.

Master Foo nodded and replied: "When you are hungry, eat; when you are thirsty, drink; when you are tired, sleep."

Upon hearing this, the novice was enlightened.

-- http://catb.org/~esr/writings/unix-koans/shell-tools.html

Re:Functional programming and the death of the Unix Way by mindslight on Sunday March 25, 2012 @08:14PM (#3754329)
Don't koans generally cast off preexisting notions? It seems the philosophy espoused by that story is "don't think too much about the design of your tools".
Re:Functional programming and the death of the Unix Way by msbarnett on Sunday March 25, 2012 @08:40PM (#3754377)
I read it as "there are many ways you could solve a problem; rather than obsess over which is The One True Way in All Situations, choose whichever is the simplest path to scratching your itch".