Chet Ramey <chet.ra...@case.edu> writes:

> Pierre Gaston wrote:
>> I have a couple of suggestions about coprocesses.
>> If I understood correctly how coproc works, I think that
>> instead of :
>> coproc [NAME] command [redirections]
>> 
>> the documentation would be a little clearer with something like:
>> 
>> coproc simple-command [redirections]
>> coproc NAME compound-command [redirections]
>
> I agree.  I will make it clearer that NAME cannot be used if the
> coproc command is a simple command, to avoid confusion with the
> first word of the command.

Even then the grammar is ambiguous.  What looks like a NAME followed by
a compound-command can also be interpreted as a simple-command where
NAME is the first word of it.

Andreas.

-- 
Andreas Schwab, SuSE Labs, sch...@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Reply via email to