On Thu, 16 May 1996, Gerry Jensen wrote: > A problem with the bash script is that it doesn't > handle shell builtins like one would expect "which" would. For example: > > which test > > returns nothing. While which should return /usr/bin/test on a Debian > system.
ok, the next version of debianutils will fix this problem with the following New Improved Which. Look For IT!!!! #!/bin/bash for i in $* ; do type -all -path $i | head -1 done Guy (Official Maintainer of the Debian which Program)