DJ Mills <danielmil...@gmail.com> writes:

> 2)
>   However, the exception to #1 is my second issue, with is that coproc
> always
>   seems to fail when called within the test portion of an if statement. I
> have
>   absolutely no idea why this happens.
>
>   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.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Reply via email to