Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Redirect &2 into a command - HowTo
- X-seq: zsh-users 1098
- From: Andrew Main <zefram@xxxxxxxxx>
- To: jarausch@xxxxxxxxxxxxxxxxxxx (Helmut Jarausch)
- Subject: Re: Redirect &2 into a command - HowTo
- Date: Fri, 24 Oct 1997 15:57:23 +0100 (BST)
- Cc: zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <jarausch-971024163649.A14799@numa1> from "Helmut Jarausch" at Oct 24, 97 04:36:52 pm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author