Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Dec 2001 18:02:35 +0900 (JST)
From:      =?iso-2022-jp?B?GyRCSy0xShsoQiAbJEJDIz9NGyhC?= <toyonaga@rr.iij4u.or.jp>
To:        mike@FreeBSD.ORG
Cc:        ktsin@acm.org, current@FreeBSD.ORG
Subject:   Re: 2>&1 in /bin/sh
Message-ID:  <20011224.180235.74729228.toyonaga@rr.iij4u.or.jp>
In-Reply-To: <20011224014226.B72911@espresso.q9media.com>
References:  <20011224062615.GA6441@nutty.Singapore.Sun.COM> <20011224014226.B72911@espresso.q9media.com>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Mike Barcroft <mike@FreeBSD.ORG>
Subject: Re: 2>&1 in /bin/sh
Date: Mon, 24 Dec 2001 01:42:26 -0500

> KT Sin <ktsin@acm.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011224.180235.74729228.toyonaga>