Posted: Mon 13 Jun 2011, 08:09 Post_subject:
bwhich Sub_title: enhanced which command
A few days ago I discovered a nice python utility called pathmatch and decided, as python is not in most puppies, to write a new little utility that does the same thing. I didn't really port any of the python code since it was easier to write this thing from scratch, which is what I did. Here is the help message, which will give you an idea what bwhich does:
Usage: bwhich [-t] keyword1 keyword2 ....
(shows all executables in your $PATH that contain keyword[s])
-t means terse (shows only names of executables without full path)
-h shows this help
NB. The bwhich keyword[s] search is case insensitive.
Example: bwhich pic img
Author: vovchik, June 2011, Puppy Linux Forum (murga-linux.com/puppy)
Version: 0.1a (check out BaCon at www.basic-converter.org)