Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Dec 2001 14:26:18 +0800
From:      KT Sin <ktsin@acm.org>
To:        current@FreeBSD.ORG
Subject:   2>&1 in /bin/sh
Message-ID:  <20011224062615.GA6441@nutty.Singapore.Sun.COM>

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

kt

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?20011224062615.GA6441>