Date: Sat, 12 May 2001 22:02:17 +0400 From: "Valeriy E. Ushakov" <uwe@ptc.spbu.ru> To: Doug Barton <DougB@DougBarton.net> Cc: "Antoine Beaupre (LMC)" <Antoine.Beaupre@ericsson.ca>, Ian Chilton <ian@ichilton.co.uk>, freebsd-stable@FreeBSD.ORG Subject: Re: [OT] Re: natd locks me out Message-ID: <20010512220217.A1068@snark.ptc.spbu.ru> In-Reply-To: <3AFD7844.F74F0B8F@DougBarton.net>; from "Doug Barton" on Sat, May 12, 2001 at 10:52:04 References: <20010511105928.A22838@woody.ichilton.co.uk> <3AFBEFE6.ED85C80C@lmc.ericsson.se> <3AFC0A97.2E570C0F@lmc.ericsson.se> <3AFD7844.F74F0B8F@DougBarton.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 12, 2001 at 10:52:04 -0700, Doug Barton wrote: > The way I try to remember it is that "2>&1" means, "Send STDERR to > wherever STDOUT was redirected to." If you think of it that way, > that bit has to come at the end because it doesn't make sense for it > to come first since STDOUT hasn't been redirected anywhere yet. It does make sense: $ foo 2>&1 > /dev/null will discard foo's output (stdout) and redirect foo's stderr to what used to be stdout descriptor. Useful to pipe stderr. SY, Uwe -- uwe@ptc.spbu.ru | Zu Grunde kommen http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010512220217.A1068>