Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!brl-tgr!gwyn From: gwyn@brl-tgr.ARPA (Doug Gwyn ) Newsgroups: net.unix-wizards Subject: Re: Redirection quirks: 2>&1 >file -- vs. -- >file 2>&1 Message-ID: <1200@brl-tgr.ARPA> Date: Fri, 3-Jan-86 09:13:24 EST Article-I.D.: brl-tgr.1200 Posted: Fri Jan 3 09:13:24 1986 Date-Received: Sun, 5-Jan-86 01:13:45 EST References: <649@watmath.UUCP> Organization: Ballistic Research Lab Lines: 7 > $ command 2>&1 >file > $ command >file 2>&1 > > These are not equivalent using our 4.2bsd Bourne shell. They're not supposed to be. The redirections are performed in the order given.