Hacker News new | ask | show | jobs
by madmax96 2939 days ago
Sometimes things are lost over text -- my comment was meant to be more whimsical than it actually read. Just the old http://porkmail.org/era/unix/award.html joke.

My actual (light) advice is merely that we're all guilty of inappropriately using IO redirection facilities that punish the performance of our shells. `cat <filename> | grep <expression>` should be replaced by `grep <expression> <filename>`.

No doubt that pipelines are easier to read. The author has a whole section in README demonstrating blush's ability to read STDIN - nothing is lost by using best practices everywhere else. Documentation matters, and it should communicate best practices.