Subject: re: bin/10611: /usr/bin/which reads user's .chsrc even if user's shell is not csh
To: Todd Whitesel <email@example.com>
From: matthew green <firstname.lastname@example.org>
Date: 07/17/2000 21:46:18
> which is for csh users. it isn't for anyone else. that's just how
> it is.
Hmm, maybe the which(1) man page should be tweaked a little to make it
really clear that people not using csh should instead use alternatives
such as whence.
I just popped out to look at the 1.4U which(1) man page and it has some
really terse bits about "csh only" that are not clear; they seem to
be explaining that which is a csh script, not that it is useless for
this is probably the best way to avoid future issues with it.