`type' built-in command in /bin/sh

Stefan Farfeleder stefan at fafoe.narf.at
Mon Nov 24 00:56:45 PST 2008


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.


More information about the freebsd-hackers mailing list