[cs631apue] About pipe and redirect

Shenghan Gao sgao9 at stevens.edu
Thu Dec 17 17:15:29 EST 2015


Hi Prof,

What should the shell do if redirect to a file and at the same time pipe to
another command(ls > out | wc )? And if input redirect from a file and also
after a pipe( ls | wc < in )? Different shells have different results for
those two conditions.

Shenghan Gao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs631apue/attachments/20151217/8922cb61/attachment.html>


More information about the cs631apue mailing list