On 4/11/11 3:52 PM, Linda Walsh wrote:
> I was looking @ coprocess section in the manpage where it says that:
>
> NAME must not be supplied if command is a simple command.
> For the coproc:
> FH1(stdout) is put in NAME[0]
> FH0(stdin) is put in NAME[1]
> PID is put in NAME_PID
>
> Questions (Seems like these should be in manpage, in this section, or
> has this already been revised?):
>
> 1) If Name isn't supplied, where does it put the handles & Pid?
The default name is COPROC.
> 2) Where does it put FH2 (stderr)?
It does not modify stderr, just as pipes do not.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/