Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: pipes and redirection
- X-seq: zsh-users 473
- From: Zefram <zefram@xxxxxxxxxxxxxxxxx>
- To: gsker@xxxxxxxxxxxxxxxxx
- Subject: Re: pipes and redirection
- Date: Tue, 29 Oct 1996 21:39:51 +0000 (GMT)
- Cc: zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <Pine.SOL.3.95.961029130246.11799A-100000@xxxxxxxxxxxxxxxxxxx> from "Gerald Skerbitz" at Oct 29, 96 01:22:23 pm
>The goal is to get stdout to go to a file, and stderr to be piped to
>another program.
(print -u2 This is stderr;print This is stdout) 1>test 2>>(tr a-z A-Z > test2)
Unfortunately the command inside >() gets executed asynchronously, but
that suffices in many cases. (Out of interest, why is it
asynchronous? I've always thought that synchronous execution, as with
normal pipelines, would be more natural and usually more useful.)
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author