Chris F.A. Johnson a écrit :
>    Why should it be the last element of a pipeline that is executed in
>    the current shell and not the first?


Because that's POSIX' choice?


Because the last element is the last one in the data stream. So it feels
more natural to get everything from the last element rather than side
effects from the first and stdout from the last.



>    Suppose that I have a group of commands that sets some variables
>    and outputs information to the screen, for example (this is much
>    oversimplified):

Thanks for the example. I find this less common than using "read".



Reply via email to