Mailing List Archive

Bad makewhatis [Was: bad pods]
Tom Christiansen said:
> Oh darn it. I think I better go and hack on installman....

And also the last time I looked, the line

.Sh "Named Unary Operators"

in perlop generated a bad whatis entry. Here's a patch for makewhatis if this
hasnt already been fixed.


*** makewhatis.~1~ Sun Jan 2 14:33:33 1994
--- makewhatis Thu Aug 24 00:06:36 1995
***************
*** 285,291 ****

LINE: while (<FILE>) {
/^\.TH\s+(\S*)\s+(\S+)/ && &doTH($1, $2);
! next LINE unless /^\.SH\s+"?NAME"?/i || /^\.NA\s?/;
$foundname = 1;
@lines = ();
$nameline = '';
--- 285,291 ----

LINE: while (<FILE>) {
/^\.TH\s+(\S*)\s+(\S+)/ && &doTH($1, $2);
! next LINE unless /^\.SH\s+"?\s*NAME\s*"?\s*$/i || /^\.NA\s?/;
$foundname = 1;
@lines = ();
$nameline = '';