function whichable()
{
to_find="$1"; shift
- local WHICHER="$(which which 2>/dev/null)"
+ local WHICHER="$(\which which 2>/dev/null)"
if [ $? -ne 0 ]; then
# there is no which command here. we produce nothing due to this.
echo
fi
- echo $($WHICHER $to_find)
+ echo $($WHICHER $to_find 2>/dev/null)
}
# makes a directory of the name specified and then tries to change the