[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#218530: findcommand() and command -v



> 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 <jdthood@aglu.demon.nl>




Reply to: