On Wed, 27 Feb 2008, Mike Miller wrote: > 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 Oops. What was I thinking? Yes, it doesn't find the full path, which is what you want. You were right, Florin, as usual. Mike