From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8090 invoked from network); 11 Jun 1997 04:46:41 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 11 Jun 1997 04:46:41 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id AAA26654; Wed, 11 Jun 1997 00:38:37 -0400 (EDT) Resent-Date: Wed, 11 Jun 1997 00:38:37 -0400 (EDT) From: Zoltan Hidvegi Message-Id: <199706101423.KAA01031@hzoli.home> Subject: Re: multiple redirections and flushing In-Reply-To: <6468.199706101406@stone.dcs.warwick.ac.uk> from Zefram at "Jun 10, 97 03:06:33 pm" To: zefram@dcs.warwick.ac.uk (Zefram) Date: Tue, 10 Jun 1997 10:23:49 -0400 (EDT) Cc: zsh-workers@math.gatech.edu (Zsh hacking and development) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"lQRUU.0.PW6.ClYdp"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/3230 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu > Vincent Lefevre wrote: > >For instance, if I don't use any redirection, I get one line after the > >other in STDOUT, but if I redirect STDOUT like this > >prg >results >&2 > >I only get the results when the program terminates. > > That's up to the program, `prg' in this case. All zsh does is open > the file. You might find the `script' command to be of some use, if > you can't modify the program. No, unfortunately it's a zsh problem. Zsh opens a tee process but does not waits for that. Zoltan