On Tue, 02.03.2010 um 15:41 +0530, Kalidas Yeturu wrote:
> Logically equivalent statements output different results. Suspect
> problem with 'pipe'.
> 

This is not a bug, quoting man bash:

> Each command in a pipeline is executed as a separate process (i.e.,
> in a subshell).

http://mywiki.wooledge.org/BashFAQ/024 covers this with more details.


Reply via email to