summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-08-09 15:42:40 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-08-09 15:42:40 +0000
commitac0450b5302c44cb103881437306c491fdce0384 (patch)
treeee6b9762009d1bdb918f3c0b88c351c85a20ef8f
parent411c56e4bfe9ee1feab69347141792a13794d675 (diff)
Notes
-rw-r--r--gnu/usr.bin/man/makewhatis/makewhatis.perl1
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 11b0249feb80..2bb0e138a887 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;