bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coprocess suggestions


From: Andreas Schwab
Subject: Re: coprocess suggestions
Date: Wed, 14 Jan 2009 17:52:24 +0100
User-agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux)

Chet Ramey <chet.ramey@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, schwab@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

[Prev in Thread] Current Thread [Next in Thread]