aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-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 11b0249feb804..2bb0e138a887d 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;