Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Nov 2008 09:40:17 +0100
From:      Stefan Farfeleder <stefan@fafoe.narf.at>
To:        Zajcev Evgeny <lg.zevlg@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: `type' built-in command in /bin/sh
Message-ID:  <20081124084016.GA1384@lizard.fafoe.narf.at>
In-Reply-To: <87vdueavft.fsf@h1.lan>
References:  <87vdueavft.fsf@h1.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 24, 2008 at 02:12:22AM +0300, Zajcev Evgeny wrote:
> 
> Hello there.  I just hit into "problem" that built-in sh command type
> outputs to stdout when error occurs.  I mean it returns non-0 status,
> but outputs to stdout!  I think stderr has been made exactly for such
> purposes and `type' should use it in case of error .. what do you
> think?

You're right.  I will fix it.



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