8 WHICH
=`which which 2>/dev/null`
9 if echo $WHICH |
grep 'shell built-in command' >/dev
/null
2>&1; then
11 elif [ -z "$WHICH" ]; then
12 if which which >/dev
/null
2>&1; then
15 for a
in /usr
/ucb
/usr
/bin
/bin
/usr
/local
/bin
; do
16 if [ -x $a/which ]; then
24 if [ -z "$WHICH" ]; then
33 a
=`"$WHICH" "$1" 2>/dev/null`
34 if [ ! -z "$a" -a -x "$a" ]; then