[9916] in Athena Bugs
Re: Command aliasing and the 'which' command - a booby trap for the unwary
daemon@ATHENA.MIT.EDU (Marc Horowitz)
Wed Sep 23 17:52:15 1992
To: haynes@cats.UCSC.EDU (Jim Haynes)
Cc: bugs@Athena.MIT.EDU
In-Reply-To: [9914] in Athena Bugs
Reply-To: Marc Horowitz <marc@MIT.EDU>
Date: Wed, 23 Sep 92 17:51:57 EDT
From: Marc Horowitz <marc@Athena.MIT.EDU>
The solution to this is that which shouldn't be a script. It should
be a builtin, like in tcsh 6 (from cornell), so you get the real state
of the shell, not what some shell script thinks might be the state of
the shell.
You can try this shell out as /afs/sipb.mit.edu/project/tcsh/tcsh on
athena (or anywhere else with afs).
Marc