on some hosts, which is a function which hoses up our careful de-aliasing approach (putting a backslash in front).
now we're stuck with the semi-official location of expecting which in /usr/bin/which
function whichable()
{
to_find="$1"; shift
- local WHICHER="$(\which which 2>/dev/null)"
+ local WHICHER="$(/usr/bin/which which 2>/dev/null)"
#>&2 echo "got whicher as: $WHICHER"
if [ $? -ne 0 ]; then
# there is no which command here. we produce nothing due to this.