Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2002 03:43:21 +0200
From:      Cyrille Lefevre <cyrille.lefevre@laposte.net>
To:        Moritz Willers <mo@wit.ch>
Cc:        stable@FreeBSD.ORG
Subject:   Re: what changed in /bin/sh with [n]>&- ?
Message-ID:  <20020712014321.GP21234@gits.dyndns.org>
In-Reply-To: <5AE7E15E-8ECD-11D6-A3F7-00039305A292@wit.ch>
References:  <bulk.75755.20020703001640@hub.freebsd.org> <5AE7E15E-8ECD-11D6-A3F7-00039305A292@wit.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 03, 2002 at 10:39:29PM +0100, Moritz Willers wrote:
> 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?

IMHO, it's not a feature :)
I'll take a look at this...
but, for instance, fill a PR (man send-pr), thanks.

Cyrille.
-- 
Cyrille Lefevre                 mailto:cyrille.lefevre@laposte.net

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?20020712014321.GP21234>