> findcommand() [...] should do what command -v does.
Nice. Note, however, that it doesn't do all of what command -v does; it lacks command -v's ability to print the names of builtins. $ bash $ command -v test test $ findcommand test /usr/bin/test command -v also prints the names of shell functions, but that is another story. -- Thomas Hood <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]