|
NAMEwhichman - show the location of a man page using a fault tolerant approximate matching algorithmSYNOPSISwhichman [-#ehIp][-t#] man-page-nameDESCRIPTIONwhichman is a "which" alike search command for man pages. whichman searches the MANPATH environment variable.Unlike "which" this program does not stop on the first match. The name should probably have been something like whereman as this is not a "which" at all. whichman shows all man-pages that match and allows you to identify the different sections to which the pages belong. whichman can handle international manpage path names for different languages. Man pages in different languages may be stored in .../man/<country_code>/man[1-9]/... By default, whichman does fault tolerant approximate string matching. With a default tolerance level of: (strlen(searchpattern) - number of wildcards)/6 + 1 OPTIONS
The search key may contain the wildcards * and ? (but see -e option):
The last argument to whichman is not parsed for options as the program needs at least one man-page-name argument. This means that whichman -x will not complain about a wrong option but search for the man-page named -x. EXAMPLEwhichman printThis will e.g. find the man-pages:
BUGSThe wildcards '?' and '*' can not be escaped. These characters function always as wildcards. This is however not a big problem since there is hardly any man-page that has these characters in its name.AUTHORGuido Socher (guido@linuxfocus.org)SEE ALSOftff(1) man(1)
Visit the GSP FreeBSD Man Page Interface. |