Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Dec 2001 01:42:26 -0500
From:      Mike Barcroft <mike@FreeBSD.ORG>
To:        KT Sin <ktsin@acm.org>
Cc:        current@FreeBSD.ORG
Subject:   Re: 2>&1 in /bin/sh
Message-ID:  <20011224014226.B72911@espresso.q9media.com>
In-Reply-To: <20011224062615.GA6441@nutty.Singapore.Sun.COM>; from ktsin@acm.org on Mon, Dec 24, 2001 at 02:26:18PM %2B0800
References:  <20011224062615.GA6441@nutty.Singapore.Sun.COM>

next in thread | previous in thread | raw e-mail | index | archive | help
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).

Best regards,
Mike Barcroft

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?20011224014226.B72911>