Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: pipe on stderr



Peter Stephenson <pws@xxxxxxxxxxxxxxxxx> typed:
:Didier Verna wrote:
:>         I've only recently discovered that there's no simple way, in any
:> shell, to pipe stderr on another process. As you can write `foo 2> foo.err',
:> wouldn't it be nice to be able to write `foo 2| bar' ?

Simple way?  Sort of.

% foo 2>>(bar)         # same as   foo 2> >(bar)

Regards,
-- 
Geoff Wing : <gcw@xxxxxxxxx>     Work URL: http://www.primenet.com.au/
Rxvt Stuff : <gcw@xxxxxxxx>      Ego URL : http://pobox.com/~gcw/
Zsh Stuff  : <gcw@xxxxxxx>       Phone   : (Australia) 0413 431 874



Messages sorted by: Reverse Date, Date, Thread, Author