Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [patch] "which"-builtin writes diagnostics to stdout
- X-seq: zsh-workers 36331
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: [patch] "which"-builtin writes diagnostics to stdout
- Date: Sat, 29 Aug 2015 22:15:38 -0700
- In-reply-to: <20150830030614.GB18893@frozen.localdomain>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20150830030614.GB18893@frozen.localdomain>
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