Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh vs. ksh coproc redirection semantics
- X-seq: zsh-users 1522
- From: Andrew Main <zefram@xxxxxxxxx>
- To: hzoli@xxxxxxxxxx (Zoltan Hidvegi)
- Subject: Re: zsh vs. ksh coproc redirection semantics
- Date: Thu, 7 May 1998 09:34:39 +0100 (BST)
- Cc: schaefer@xxxxxxxxxxxxxxxx, eggink@xxxxxxxxxxxxxx, zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <199805070717.CAA02705@xxxxxxxxxx> from "Zoltan Hidvegi" at May 7, 98 02:17:16 am
Zoltan Hidvegi wrote:
> <&digit- The file descriptor given by digit is moved
> to standard input. Similarly for the stan-
> dard output using >&digit-.
>
> <&p The input from the co-process is moved to
> standard input.
Ah, now it makes sense.
>Probably is. The other solution would be to inplement the >&digit-
>syntax and have >&p duplicate, >&p- move the coprocess descriptor. This
>is consistent, but incompatible with ksh. Since zsh is already not
>compatible with ksh when creating coprocesses, this might be acceptable,
>but this can greatly confuse people coming from ksh.
I think we should probably just implement the documented ksh behaviour.
It we makes fds above 9 visible, then the usual numerical syntax can be
used to copy, rather than move, the coprocess fds.
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author