On Wed, 27 Feb 2008, Florin Iucha wrote:

> Well, what happens if $SCRIPT is not in $PATH?  'which' won't find 
> it....

Yes it will.

$ mkdir foo
$ touch foo/script
$ chmod 755 foo/script
$ which foo/script
./foo/script

Mike