'Sh' question related to redirecting

Guy Harris guy at sun.uucp
Fri Jun 7 10:34:54 AEST 1985


> It appears that if you say:
> 
> 	program 2>&1 | program
> 
> then the standard error output of the first program is put into the
> pipeline to the second program.  This works with the Bourne Shell on 4.2
> from Sun.

It's a documented feature of "sh", so it damn well better work on Suns and
every other UNIX implementation in existence.

	Guy Harris



More information about the Comp.unix.wizards mailing list