Date: Mon, 24 Nov 2008 02:12:22 +0300 From: Zajcev Evgeny <lg.zevlg@gmail.com> To: freebsd-hackers@freebsd.org Subject: `type' built-in command in /bin/sh Message-ID: <87vdueavft.fsf@h1.lan>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87vdueavft.fsf>