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

Zajcev Evgeny lg.zevlg at gmail.com
Sun Nov 23 15:45:27 PST 2008


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?

thanks

-- 
lg


More information about the freebsd-hackers mailing list