On Friday 05 March 2010 15:51:35 David N. Lombard wrote:
> On Fri, Mar 05, 2010 at 12:07:25PM -0700, Mike Frysinger wrote:
> > On Friday 05 March 2010 10:13:00 David N. Lombard wrote:
> > > On Fri, Mar 05, 2010 at 04:22:54AM -0700, Mike Frysinger wrote:
> > > > 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".
> 
> Clearly I failed to express the complete thought.

your latter example above lacks a pipe.  the example below has a pipe.

> How does
> 
>       producer |& consumer
> 
> differ from
> 
>       producer 2>&1 | consumer
> 
> beside a more compact representation?

as i said, "yes"
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to