which: command not found

"Mark J. Reed" <[email protected]> Fri, 12 Dec 2025 11:39:18 -0500
Newsgroups gmane.comp.shells.zsh.devel,gmane.comp.shells.zsh.user
Message-ID <CAA=-s3xJ5iSmG1LESO_GGzAheJ3r7unYeOinYKJCMKquLWgP0Q@mail.gmail.com>
Why does the "command not found" output of `which` go to stdout? Seems like
it would make more sense to send that to stderr and nothing to stdout in
that case. I know the exit code can be used to determine whether the output
is usable; it just seems like an odd choice.

-- 
Mark J. Reed <[email protected]>