Fix whatis(1) to correctly match words instead of any substrings.
authorschwarze <schwarze@openbsd.org>
Sat, 12 Jul 2014 13:59:54 +0000 (13:59 +0000)
committerschwarze <schwarze@openbsd.org>
Sat, 12 Jul 2014 13:59:54 +0000 (13:59 +0000)
commiteb258672f30b648d65170a987d584ccf184cbf71
tree4dbccb5cf9648fe4575f42246e0d1dad7165b8e9
parentb62fa43dda8392a2ab20a61a95151a4dd30a8c8c
Fix whatis(1) to correctly match words instead of any substrings.
While here, also provide an internal mode (MANSEARCH_MAN) to match
complete names, to be used by man.cgi(8).
usr.bin/mandoc/mansearch.c
usr.bin/mandoc/mansearch.h