[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: I think bash logic in a loop like : while [ condition] |read somevar
From: |
Chet Ramey |
Subject: |
Re: I think bash logic in a loop like : while [ condition] |read somevar is flawed. |
Date: |
Thu, 26 Dec 2013 18:22:19 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
On 12/25/13, 1:33 AM, Pierre Gaston wrote:
> If I remember correctly, POSIX allows the lastpipe behaviour.
It does, in its usual fashion: "each command of a multi-command pipeline
is in a subshell environment; as an extension, however, any or all
commands in a pipeline may be executed in the current environment."
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/
Re: I think bash logic in a loop like : while [ condition] |read somevar is flawed., Pierre Gaston, 2013/12/24
Re: I think bash logic in a loop like : while [ condition] |read somevar is flawed., Greg Wooledge, 2013/12/24
- Message not available
- Re: I think bash logic in a loop like : while [ condition] |read somevar is flawed., Greg Wooledge, 2013/12/24
- Re: I think bash logic in a loop like : while [ condition] |read somevar is flawed., Pierre Gaston, 2013/12/25
- Re: I think bash logic in a loop like : while [ condition] |read somevar is flawed.,
Chet Ramey <=
- Re: I think bash logic in a loop like : while [ condition] |read somevar is flawed., Suvayu Ali, 2013/12/30
- Re: I think bash logic in a loop like : while [ condition] |read somevar is flawed., Chet Ramey, 2013/12/30
- Re: I think bash logic in a loop like : while [ condition] |read somevar is flawed., Suvayu Ali, 2013/12/30
Message not available
Re: I think bash logic in a loop like : while [ condition] |read somevar is flawed., Linda Walsh, 2013/12/24