Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [patch] "which"-builtin writes diagnostics to stdout



On Sat, Aug 29, 2015 at 8:06 PM, Timo Buhrmester <fstd.lkml@xxxxxxxxx> wrote:
> When invoking the `which` builtin for something that does not exist, like:
>
> | % which doesnotexist
> | doesnotexist not found
>
> the "doesnotexist not found" message goes to standard output, rather than standard error.

Believe it or not, this is intentional, because the original "which"
builtin from csh does that.  Try it in tcsh, for example.



Messages sorted by: Reverse Date, Date, Thread, Author