[OT] What does this pipe do? (fwd)

youshi10 at u.washington.edu youshi10 at u.washington.edu
Wed Jan 24 02:44:06 UTC 2007


On Tue, 23 Jan 2007, Robert Huff wrote:

> 
> youshi10 at u.washington.edu writes:
> 
>>  I know this is a Unix shell command, and off-topic, but I'm
>>  curious. I've been reading a few 'make' commands at work that end
>>  in "|&" and I was wondering if that redirection string is
>>  synonymous to "| /dev/stdout".
> 
> 	That's (t)csh-speak for "send both stdout and stderr to the
> pipe".  '|' only covers stdout.
> 
> 
> 				Robert Huff

No similar shortened command for bash/sh, other than &1>/dev/stdout 
&2>/dev/stdout?

-Garrett



More information about the freebsd-questions mailing list