From owner-freebsd-current Mon Dec 24 1: 2:42 2001 Delivered-To: freebsd-current@freebsd.org Received: from r-rr.iij4u.or.jp (r-rr.iij4u.or.jp [210.130.0.76]) by hub.freebsd.org (Postfix) with ESMTP id 118F537B41A; Mon, 24 Dec 2001 01:02:39 -0800 (PST) Received: from rr.iij4u.or.jo (CBCba-119p194.ppp13.odn.ad.jp [61.196.94.194]) by r-rr.iij4u.or.jp (8.11.6+IIJ/8.11.6) with ESMTP id fBO92bA23524; Mon, 24 Dec 2001 18:02:37 +0900 (JST) Date: Mon, 24 Dec 2001 18:02:35 +0900 (JST) Message-Id: <20011224.180235.74729228.toyonaga@rr.iij4u.or.jp> To: mike@FreeBSD.ORG Cc: ktsin@acm.org, current@FreeBSD.ORG Subject: Re: 2>&1 in /bin/sh From: =?iso-2022-jp?B?GyRCSy0xShsoQiAbJEJDIz9NGyhC?= In-Reply-To: <20011224014226.B72911@espresso.q9media.com> References: <20011224062615.GA6441@nutty.Singapore.Sun.COM> <20011224014226.B72911@espresso.q9media.com> X-Mailer: Mew version 2.1 on Emacs 20.7 / Mule 4.1 (AOI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG From: Mike Barcroft Subject: Re: 2>&1 in /bin/sh Date: Mon, 24 Dec 2001 01:42:26 -0500 > KT Sin writes: > > Just ran make world this morning and 2>&1 fd redirection stopped working > > for /bin/sh. > > > > $ ls /bad/file > /dev/null 2>&1 > > ls: /bad/file: No such file or directory > > > > 2>&1 is used extensively in the /etc/rc* bootup scripts. Now, the bootup > > screen is cluttered with unwanted messages. > > > > Any idea? > > AFAIK, this was fixed. Check the commit logs for sh(1). > According to the CVSROOT/commitlogs/bin, the problematic version of redir.c is still in CVS... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message