From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2557 invoked from network); 10 Jun 1997 14:18:52 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 10 Jun 1997 14:18:52 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id KAA13763; Tue, 10 Jun 1997 10:03:31 -0400 (EDT) Resent-Date: Tue, 10 Jun 1997 10:03:06 -0400 (EDT) From: Zefram Message-Id: <6468.199706101406@stone.dcs.warwick.ac.uk> Subject: Re: multiple redirections and flushing To: Vincent.Lefevre@ens-lyon.fr (Vincent Lefevre) Date: Tue, 10 Jun 1997 15:06:33 +0100 (BST) Cc: zsh-users@math.gatech.edu In-Reply-To: <19970610151915.50110@ens-lyon.fr> from "Vincent Lefevre" at Jun 10, 97 03:19:15 pm X-Loop: zefram@dcs.warwick.ac.uk X-Stardate: [-31]9462.93 X-Phase: The Moon is Waxing Crescent (27% of Full) X-US-Congress: Moronic fuckers X-Personality: INTJ X-This-is-not-HTML: Content-Type: text Resent-Message-ID: <"zrOX12.0.tL3.PwLdp"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/890 X-Loop: zsh-users@math.gatech.edu 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. -zefram