summaryrefslogtreecommitdiff
path: root/libexec/makewhatis
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-03-14 10:57:14 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-03-14 10:57:14 +0000
commit86cd5260e463c020c77de4f8cda6e1fc91830d91 (patch)
tree054503967fe2f8e7a9ce78438372b0114f563eb9 /libexec/makewhatis
parent30b16021f82bbf8e0754eefd517030e541ace317 (diff)
more bizarre constructs that occur in some man pages.
Diffstat (limited to 'libexec/makewhatis')
-rw-r--r--libexec/makewhatis/makewhatis.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/libexec/makewhatis/makewhatis.pl b/libexec/makewhatis/makewhatis.pl
index 00bf38b7cae..c3a6d2843c2 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.16 2001/03/14 10:56:24 espie Exp $
+# $OpenBSD: makewhatis.pl,v 1.17 2001/03/14 10:57:13 espie Exp $
#
# Copyright (c) 2000 Marc Espie.
#
@@ -151,6 +151,9 @@ sub add_unformated_subject
s/\\\s+/ /g;
# em dashes
s/\\\(em\s+/- /g;
+ # em dashes in the middle of lines
+ s/\\\(em/-/g;
+ s/\\\*[LO]//g;
s/\\\(tm/(tm)/g;
# font changes
s/\\f[BIRP]//g;