Subject: Re: which(1) is a csh script?
To: None <firstname.lastname@example.org>
From: Jesper Louis Andersen <email@example.com>
Date: 10/06/2003 23:43:18
Quoting Roland Dowdeswell (firstname.lastname@example.org):
> >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.
I know that, but assume we are running off /bin/sh and only have
a POSIX layer. Then what is correct portable way of getting something
with the same semantics as which(1) or whence in ksh?