From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2076 invoked from network); 24 Oct 1997 15:06:15 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 24 Oct 1997 15:06:15 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id KAA08652; Fri, 24 Oct 1997 10:56:57 -0400 (EDT) Resent-Date: Fri, 24 Oct 1997 10:56:30 -0400 (EDT) From: Andrew Main Message-Id: <199710241457.PAA17010@taos.demon.co.uk> Subject: Re: Redirect &2 into a command - HowTo To: jarausch@igpm.rwth-aachen.de (Helmut Jarausch) Date: Fri, 24 Oct 1997 15:57:23 +0100 (BST) Cc: zsh-users@math.gatech.edu In-Reply-To: from "Helmut Jarausch" at Oct 24, 97 04:36:52 pm X-Loop: zefram@tao.co.uk X-Headers: in preparation X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"vQvit2.0.262.TSBKq"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1098 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Helmut Jarausch wrote: >Is there any possibility to redirect STDERR to a command like 'xless' >without redirecting STDOUT as well? The simplest way is foo 2>>(xless) but this executes the command asynchronously, which may not be what you want. To do it synchronously: { { foo 1>&3 } 2>&1 | xless } 3>&1 -zefram