summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;