<p dir="ltr">Okay, sounds like user would expect to put the output into nothing. <br>
Can I treat it the same as cmd1 > /dev/null ? </p>
<div class="gmail_quote">On Dec 17, 2014 1:19 AM, "Jan Schaumann" <<a href="mailto:jschauma@stevens.edu">jschauma@stevens.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sen Jiang <<a href="mailto:sjiang11@stevens.edu">sjiang11@stevens.edu</a>> wrote:<br>
> I'm currently treating this as a valid command same as cmd1.<br>
> Do I have to change it?<br>
<br>
"Run cmd1 and put the output into this following command with is<br>
nothing" is not the same as "run cmd1 and put the output to stdout".<br>
<br>
As a user, would you expect "cmd1 |" to be the same as "cmd1"? I<br>
wouldn't.<br>
<br>
-Jan<br>
</blockquote></div>