'Sh' question related to redirecting

lrr at gypsy.UUCP lrr at gypsy.UUCP
Thu Jun 6 00:26:00 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.

Larry Rogers
Siemens Research and Technology Laboratories
Princeton, NJ 08540
princeton!siemens!jaguar!lrr
609 734 6559



More information about the Comp.unix.wizards mailing list