Subject: Re: bin/10611: /usr/bin/which reads user's .chsrc even if user's shell is not csh
To: ITOH Yasufumi <email@example.com>
From: gabriel rosenkoetter <firstname.lastname@example.org>
Date: 07/19/2000 16:47:27
On Wed, Jul 19, 2000 at 07:09:14PM +0900, ITOH Yasufumi wrote:
> pino:~ % csh -f
> % which which
> which: shell built-in command.
Great. Neither the user *nor* which gets .cshrc that way.
> In my thought, /usr/bin/which is obsolete, and we should not alter
> the behavior, except for by removing it, to keep backward-compatibility.
I agree with that general sentiment. I question how many people
actually use csh or sh as interactive shells these days, though.
Haven't most users migrated to tcsh or bash/zsh by now?
Admittedly, I still know all my sh and csh syntax and use it until
I've installed zsh out of pkgsrc, but...
~ g r @ eclipsed.net