On Friday 05 March 2010 13:07:25 Mike Frysinger wrote:
> > > > It's a csh-ism to pipe a comingled stdout and stderr.
> > > >
> > > > Bourne et al. use "2>" to redirect stderr specifically.
> > >
> > > bash-4.1 supports "|&" now as well as some similar variants
> >
> > Is '|&' any different than "2>&1"?
>
> the former is a pipe while the latter is a redirect.  ignoring that, let's
> go with "yes".
> -mike

I've been doing "stuff.sh 2>&1 | tee out.txt" for years, works fine.

Rob
-- 
Latency is more important than throughput. It's that simple. - Linus Torvalds
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to