Unix scripting always amazes me. Every time I read a script or a blog post about it I learn something new.
After all these years using Linux, I don't remember ever noticing input redirection.
After all these years using Linux, I don't remember ever noticing input redirection.
http://groups.google.com/groups?q=Useless%20Use%20of%20Cat%2...
(actually his main point was that most unix commands take a file as an arguments, but for the ones that don't you can just slurp it into stdin with `<')
Nowadays, we could say the same thing about useless uses of `echo', given the modern `<<<' operator.