Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
how to pipe to stdout and stderr
- X-seq: zsh-users 6916
- From: Andy Spiegl <zsh.Andy@xxxxxxxxx>
- To: ZSH User List <zsh-users@xxxxxxxxxx>
- Subject: how to pipe to stdout and stderr
- Date: Thu, 18 Dec 2003 01:12:01 +0100
- Kreccount: 1
- Mail-followup-to: ZSH User List <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: KasCada GbR
Maybe I'm just too tired right now, but I can't find the solution how to
pipe the standard output and standard error to 2 different programs.
Example:
program foo (prints to stdout and stderr)
program bar1 should receive only stdout
program bar2 should receive only stderr
How can I do this? Someone knows how to do that in bash, too?
Thanks so much,
Andy.
--
http://peru.spiegl.de Our project
http://radiomaranon.org.pe Radio Marañón, Jaén, Perú
o _ _ _
------- __o __o /\_ _ \\o (_)\__/o (_) -o)
----- _`\<,_ _`\<,_ _>(_) (_)/<_ \_| \ _|/' \/ /\\
---- (_)/ (_) (_)/ (_) (_) (_) (_) (_)' _\o_ _\_v
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If you can't write your ideas on the back of my calling card,
you don't have a clear idea. -- David Belasco
Messages sorted by:
Reverse Date,
Date,
Thread,
Author