This is just a quick fix to the Slackware 2.0 makewhatis script found at
/usr/sbin/makewhatis. I found that the version which came with the
package had problems with some of the man pages. In particular, it tended
to include just about the entire /bin/bash man page in the whatis
database!

I made a few changes to fix up that behaviour. It now handles more
severely split up command title lines, and doesn't get confused by a few
more GROFF commands, namely ".Nm", ".Tn", ".Li", ".Nd", and ".Dq".

Note that the recently released man-pages-1.5 has a page,
man4/console_ioctl.4, which breaks this makewhatis. That's because the
entire text of the manual page is contained in the ".SH NAME" directive,
so the makewhatis script is entirely correct in putting the whole text of
the manual page into the whatis database. To fix this, modify that manual
page. Add a line:
.SH DESCRIPTION
before the first line which starts with
\fBWARNING:


Send comments or questions to Christopher Neufeld,
neufeld@physics.utoronto.ca.

