Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2002 22:39:29 +0100
From:      Moritz Willers <mo@wit.ch>
To:        stable@FreeBSD.ORG
Subject:   what changed in /bin/sh with [n]>&- ?
Message-ID:  <5AE7E15E-8ECD-11D6-A3F7-00039305A292@wit.ch>
In-Reply-To: <bulk.75755.20020703001640@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
after the update

# uname -r
4.6-RELEASE-p1
# /bin/sh -c 'echo "ha" >&-'
ha
#

according to the manpage and my knowledge this should not produce any 
output:

            [n]>&-        close stdout (or file descriptor n)

is this an intentional change or a unwanted feature?

- mo


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?5AE7E15E-8ECD-11D6-A3F7-00039305A292>