From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ben.uknet.ac.uk ([192.91.199.254]) by hawkwind.utcs.toronto.edu with SMTP id <2230>; Wed, 15 Jul 1992 07:01:29 -0400 Received: from eros.uknet.ac.uk by ben.uknet.ac.uk via UKIP with SMTP (PP) id ; Wed, 15 Jul 1992 12:00:25 +0100 Received: from localhost.uknet.ac.uk by eros.uknet.ac.uk with SMTP (PP) id <22189-0@eros.uknet.ac.uk>; Wed, 15 Jul 1992 12:00:37 +0100 To: rc@hawkwind.utcs.toronto.edu Subject: Re: Question about redirection In-reply-to: Your message of "Wed, 15 Jul 92 06:44:45 EDT." <9207151044.AA28299@dahlie.techfak.uni-bielefeld.de> Date: Wed, 15 Jul 1992 07:00:34 -0400 From: Tim.Goodwin@uknet.ac.uk Message-Id: <92Jul15.070129edt.2230@hawkwind.utcs.toronto.edu> >Could some kind soul explain this to me ? > { echo stderr >[1=2]; echo stdout } >[2=1] > /dev/null > stderr > { echo stderr >[1=2]; echo stdout } |[2=1] cat > /dev/null > stdout > Try { echo stderr >[1=2]; echo stdout } |[2=0] cat > /dev/null [ Don't ask how long it took me to realise the mistake :-(. ] Tim.