summaryrefslogtreecommitdiff
path: root/libexec/makewhatis/OpenBSD
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2004-08-07 07:52:11 +0000
committerMarc Espie <espie@cvs.openbsd.org>2004-08-07 07:52:11 +0000
commit245cf5e8918063f5d1833a89de90f3abbc2cdd8b (patch)
treebdfc086bd2c3855fdd51a3cdb0eeb9355521cb76 /libexec/makewhatis/OpenBSD
parent8dd253809074334823c9e663f82b7ad6c13207cf (diff)
.tbl is also a valid suffix.
Diffstat (limited to 'libexec/makewhatis/OpenBSD')
-rw-r--r--libexec/makewhatis/OpenBSD/Makewhatis.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/makewhatis/OpenBSD/Makewhatis.pm b/libexec/makewhatis/OpenBSD/Makewhatis.pm
index 74806b1f084..e62ee1d117f 100644
--- a/libexec/makewhatis/OpenBSD/Makewhatis.pm
+++ b/libexec/makewhatis/OpenBSD/Makewhatis.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Makewhatis.pm,v 1.3 2004/08/06 16:19:42 espie Exp $
+# $OpenBSD: Makewhatis.pm,v 1.4 2004/08/07 07:52:10 espie Exp $
# Copyright (c) 2000-2004 Marc Espie <espie@openbsd.org>
#
# Permission to use, copy, modify, and distribute this software for any
@@ -46,7 +46,7 @@ sub scan_manpages
next;
}
}
- if (m/\.[1-9ln][^.]*$/) {
+ if (m/\.(?:[1-9ln][^.]*|tbl)$/) {
require OpenBSD::Makewhatis::Unformated;
$subjects = OpenBSD::Makewhatis::Unformated::handle($file, $_);