diff options
author | ru <ru@FreeBSD.org> | 2001-08-09 15:42:40 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-08-09 15:42:40 +0000 |
commit | 774de761c5532054d359c5032311deb79fa903cd (patch) | |
tree | ee6b9762009d1bdb918f3c0b88c351c85a20ef8f /gnu | |
parent | 95984597fcd75e0565ff51a7862b9f202e76f5f4 (diff) | |
download | FreeBSD-src-774de761c5532054d359c5032311deb79fa903cd.zip FreeBSD-src-774de761c5532054d359c5032311deb79fa903cd.tar.gz |
Skip empty calls in the NAME section after the .Nm macro call.
This makes the following difference:
-groff_mdoc(7), -(7) - groff_mdoc reference for groff's mdoc implementation
+groff_mdoc(7) - reference for groff's mdoc implementation
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/man/makewhatis/makewhatis.perl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/usr.bin/man/makewhatis/makewhatis.perl b/gnu/usr.bin/man/makewhatis/makewhatis.perl index 11b0249..2bb0e13 100644 --- a/gnu/usr.bin/man/makewhatis/makewhatis.perl +++ b/gnu/usr.bin/man/makewhatis/makewhatis.perl @@ -361,6 +361,7 @@ sub manual { last if /^\.Sh/; chop; s/^\.\\".*$//; #" delete comments + next if /^\.[ \t]*$/; # skip empty calls if (/^\.Nm/) { s/^\.Nm[ \t]*//; s/ ,/,/g; |