Re:Unix and Flow-Based Programming
by mtdewcmu on Friday December 18, 2015 @11:04PM
(#10762573)
If you're going to write shell scripts or do anything sophisticated with the shell, it's worth understanding the difference. And there is a fundamental difference. With |, standard input is hooked up to a pipe. With <, standard input is hooked up directly to the file. Sometimes it does matter.
[ Parent
| on HN ]
The purpose cat serves is that it lets you forget about < until you really need it.
Re:Unix and Flow-Based Programming
by throwaway999888 on Saturday December 19, 2015 @05:47AM
(#10763227)
The comparison was between cat + pipe and < ...