[Top][All Lists]

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

Re: coproc command doesn't accept NAME arg

From: Jan Schampera
Subject: Re: coproc command doesn't accept NAME arg
Date: Wed, 25 Feb 2009 06:22:19 +0100
User-agent: Mozilla-Thunderbird (X11/20090103)

Tim Hatch wrote:

>     Pilot:~/tmp/bash-4.0 tim$ coproc NAME ls
>     [1] 18474
>     Pilot:~/tmp/bash-4.0 tim$ ./bash: line 32: NAME: command not found
>     [1]+  Exit 127                coproc COPROC NAME ls

For some reason it expects a compound command on named coprocesses,


MSGID <address@hidden>

If NAME is not supplied, the default name is COPROC. NAME must not be
supplied if command is a simple command (see above); otherwise, it is
interpreted as the first word of the simple command.

Yes, it's not intuitive.


reply via email to

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