zsh-users
 help / color / mirror / code / Atom feed
* how to pipe to stdout and stderr
@ 2003-12-18  0:12 Andy Spiegl
  2003-12-18  1:44 ` Ibraheem Umaru-Mohammed
  2003-12-18  2:13 ` Dan Nelson
  0 siblings, 2 replies; 7+ messages in thread
From: Andy Spiegl @ 2003-12-18  0:12 UTC (permalink / raw)
  To: ZSH User List

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-12-18 10:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-18  0:12 how to pipe to stdout and stderr Andy Spiegl
2003-12-18  1:44 ` Ibraheem Umaru-Mohammed
2003-12-18  2:01   ` Andy Spiegl
2003-12-18  2:17     ` Hisham Muhammad
2003-12-18  9:59     ` Ibraheem Umaru-Mohammed
2003-12-18  2:13 ` Dan Nelson
2003-12-18 10:17   ` Andy Spiegl

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).