On 12/12/12 3:11 AM, Andreas Schwab wrote:

>>   To reproduce:
>>     if ! coproc false; then echo error1 >&2; fi; wait "$COPROC_PID" || echo
>> error2 >&2
> 
> This has nothing to do with if but with ! which doesn't appear to work
> in this context.

Correct; good catch.  It was an oversight and will be fixed in the next
version.  It's interesting that nobody noticed it before now.

Chet


-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    c...@case.edu    http://cnswww.cns.cwru.edu/~chet/

Reply via email to