Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 SMI; site sun.uucp Path: utzoo!watmath!clyde!bonnie!akgua!mcnc!decvax!decwrl!sun!guy From: guy@sun.uucp (Guy Harris) Newsgroups: net.unix-wizards Subject: Re: 'Sh' question related to redirecting Message-ID: <2276@sun.uucp> Date: Thu, 6-Jun-85 20:34:54 EDT Article-I.D.: sun.2276 Posted: Thu Jun 6 20:34:54 1985 Date-Received: Mon, 10-Jun-85 20:56:24 EDT References: <1159@utcsri.UUCP> <44700004@gypsy.UUCP> Organization: Sun Microsystems, Inc. Lines: 12 > 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