#!/bin/sh
# whence	Emulate the KornShell built-in function by Bob Stockler
type=`type $1`
nf="not found"
case $type in
  *$nf) echo "";;
     *) echo $type | { read junk junk path ; echo $path ;};;
esac
