Subject: Re: bin/10611: /usr/bin/which reads user's .chsrc even if user's shell is not csh
To: None <>
From: ITOH Yasufumi <>
List: netbsd-bugs
Date: 07/19/2000 19:09:14
In article <> writes:

> 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 <>