Subject: Re: which(1) is a csh script?
To: Jesper Louis Andersen <>
From: Greywolf <>
List: tech-userlevel
Date: 10/06/2003 15:00:59
Thus spake Jesper Louis Andersen ("JLA> ") sometime Today...

JLA> Quoting Roland Dowdeswell (
JLA> > If you are using ksh, then you should be using the ksh builtin
JLA> > whence.  It does the right thing.
JLA> I know that, but assume we are running off /bin/sh and only have
JLA> a POSIX layer. Then what is correct portable way of getting something
JLA> with the same semantics as which(1) or whence in ksh?


NetBSD: the second best thing you can get for free.