From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12612 invoked from network); 7 May 1998 17:08:50 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 7 May 1998 17:08:50 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id NAA19331; Thu, 7 May 1998 13:02:53 -0400 (EDT) Resent-Date: Thu, 7 May 1998 13:02:33 -0400 (EDT) From: Zoltan Hidvegi Message-Id: <199805071702.MAA62468@frontiernet.net> Subject: Re: zsh vs. ksh coproc redirection semantics In-Reply-To: <980507022638.ZM16894@candle.brasslantern.com> from Bart Schaefer at "May 7, 98 02:26:38 am" To: zsh-users@math.gatech.edu Date: Thu, 7 May 1998 12:02:40 -0500 (CDT) X-Mailer: ELM [version 2.4ME+ PL35 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"zQjwD3.0.Yj4.eaUKr"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1526 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 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