Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Speaking of "coproc" ...
- X-seq: zsh-workers 3931
- From: Andrew Main <zefram@xxxxxxxxx>
- To: schaefer@xxxxxxxxxxxxxxxx (Bart Schaefer)
- Subject: Re: Speaking of "coproc" ...
- Date: Tue, 5 May 1998 10:02:27 +0100 (BST)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <980503024337.ZM31103@xxxxxxxxxxxxxxxxxxxxxxx> from "Bart Schaefer" at May 3, 98 02:43:37 am
Bart Schaefer wrote:
>How does one close the input to the coproc, so as to send it an end-of-file?
>The only thing I've come up with is "coproc exit" which seems rather silly
>and which closes both the input and the output.
Coprocesses are a bit of a mess. I'd like to make it possible to attach
the coprocess to specified fd numbers, just like file redirections,
so that one could close either pipe with the ">&-" syntax. This would
also make it possible to have multiple independent coprocesses. To do
this properly I think we'd need an extended redirection syntax, to allow
redirecting file descriptors of more than one digit; perhaps we could
do something like the rc syntax?
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author