Subject: Re: which(1) is a csh script?
To: Jesper Louis Andersen <email@example.com>
From: Roland Dowdeswell <firstname.lastname@example.org>
Date: 10/06/2003 17:35:38
On 1065475161 seconds since the Beginning of the UNIX epoch
"Jesper Louis Andersen" wrote:
>I was amazed to find that which(1) is a csh script. It makes it rather
>hard to rely on it when searching for things in a $PATH variable,
>since csh as far as I can see sources $path instead and doesnt merge
>$PATH into it (and you are using ksh).
If you are using ksh, then you should be using the ksh builtin
whence. It does the right thing.
Roland Dowdeswell http://www.Imrryr.ORG/~elric/