[cs631apue] question about pipeline 4

Sen Jiang sjiang11 at stevens.edu
Wed Dec 17 01:28:35 EST 2014

Okay, sounds like user would expect to put the output into nothing.
Can I treat it the same as cmd1 > /dev/null ?
On Dec 17, 2014 1:19 AM, "Jan Schaumann" <jschauma at stevens.edu> wrote:

> Sen Jiang <sjiang11 at stevens.edu> wrote:
> > I'm currently treating this as a valid command same as cmd1.
> > Do I have to change it?
> "Run cmd1 and put the output into this following command with is
> nothing" is not the same as "run cmd1 and put the output to stdout".
> As a user, would you expect "cmd1 |" to be the same as "cmd1"?  I
> wouldn't.
> -Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs631apue/attachments/20141217/1a39305b/attachment.html>

More information about the cs631apue mailing list