Subject: Re: bin/10611: /usr/bin/which reads user's .chsrc even if user's shell is not csh
To: None <email@example.com>
From: ITOH Yasufumi <firstname.lastname@example.org>
Date: 07/19/2000 19:09:14
In article <200007190939.CAA20790@shell17.ba.best.com>
> That is the main thing I use which(1) for, and while I (ages ago) renovated
> my .cshrc to imitate .profile/.env, I find that the tcsh built-in "which"
> is a far better solution. All my important accounts have a tcsh installed.
pino:~ % csh -f
% which which
which: shell built-in command.
In my thought, /usr/bin/which is obsolete, and we should not alter
the behavior, except for by removing it, to keep backward-compatibility.
By the way, the reason /usr/bin/which reads .cshrc is to find the aliases.
ITOH, Yasufumi <email@example.com>