Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh vs. ksh coproc redirection semantics
- X-seq: zsh-users 1526
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: zsh vs. ksh coproc redirection semantics
- Date: Thu, 7 May 1998 12:02:40 -0500 (CDT)
- In-reply-to: <980507022638.ZM16894@xxxxxxxxxxxxxxxxxxxxxxx> from Bart Schaefer at "May 7, 98 02:26:38 am"
Bart wrote:
> On May 7, 9:34am, Andrew Main wrote:
> } Subject: Re: zsh vs. ksh coproc redirection semantics
> }
> } I think we should probably just implement the documented ksh behaviour.
>
> I'd take a poll first (and see if you can get PF to answer). One aspect
> of the current zsh behavior is that you can leave the same coproc running
> all day and feed different stuff through it from time to time, which IIRC
> was actually discussed in a long-ago introduction-to-zsh document that
> Paul once distributed.
You can do it with the ksh syntax by moving it first with exec ..&p
and then you can use the moved descriptor as many times as you wish.
p>&- can calso be done by 3>&p 3>&-.
Zoli
Messages sorted by:
Reverse Date,
Date,
Thread,
Author