summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2002-04-16 20:07:08 +0000
committerMarc Espie <espie@cvs.openbsd.org>2002-04-16 20:07:08 +0000
commit1c8da3cf914ea2b8db5bd738372f584a6bee4ffe (patch)
tree73c98075d9e75c13bcf26d0036944d66628f4d0b
parent8cdc09a53e0a96c16151d9121d5164eb6cec70fa (diff)
skip over comment while parsing subject.
(Repair bus_space.9 parsing, not visible on formatted version)
-rw-r--r--libexec/makewhatis/makewhatis.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/makewhatis/makewhatis.pl b/libexec/makewhatis/makewhatis.pl
index 9c69df08204..5cee0e6da74 100644
--- a/libexec/makewhatis/makewhatis.pl
+++ b/libexec/makewhatis/makewhatis.pl
@@ -1,7 +1,7 @@
#!/usr/bin/perl -w
# ex:ts=8 sw=4:
-# $OpenBSD: makewhatis.pl,v 1.20 2002/04/02 03:17:16 espie Exp $
+# $OpenBSD: makewhatis.pl,v 1.21 2002/04/16 20:07:07 espie Exp $
#
# Copyright (c) 2000 Marc Espie.
#
@@ -290,6 +290,7 @@ sub handle_unformated
my @keep = ();
my $nd_seen = 0;
while (<$f>) {
+ next if m/^\.\\\"/;
last if m/^\.\s*Sh/;
s/\s,/,/g;
if (s/^\.\s*(\S\S)\s+//) {