Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/17/84; site mhuxd.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxd!rs From: rs@mhuxd.UUCP (Robert Sanderman) Newsgroups: net.unix-wizards Subject: Re: Redirection quirks: 2>&1 >file -- vs. -- >file 2>&1 Message-ID: <3957@mhuxd.UUCP> Date: Sat, 4-Jan-86 22:27:43 EST Article-I.D.: mhuxd.3957 Posted: Sat Jan 4 22:27:43 1986 Date-Received: Sun, 5-Jan-86 05:43:59 EST References: <649@watmath.UUCP> <1200@brl-tgr.ARPA> Organization: AT&T Bell Laboratories, Murray Hill Lines: 11 > > $ command 2>&1 >file > > $ command >file 2>&1 I understand why the above are different but why do the following two lines produce different results: $ 2>&1 command > file $ command 2>&1 > file Bob Sanderman ihnp4!mhuxd!rs