|
|
|
|
|
by niggler
4878 days ago
|
|
(you can find more info in the manpage for your shell) $ cat foo | bar
ends up creating two processes and a pipe. The foo file is first read by cat and then written onto the pipe (which bar then reads). $ <foo bar
is an input redirection: foo is opened for reading and bar's standard input fd is set to that open file (so the file's data is only read once) |
|