diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2005-01-13 11:22:25 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2005-01-13 11:22:25 +0000 |
commit | 94b78e47c7a0971e8a5d10b4f7764341a4f16860 (patch) | |
tree | cd7cb36cc04994a111ee5dd7b731aabd1d4c9e90 /libexec | |
parent | 172e438e87155eb5c731a44efb5d9901ee8a6e2a (diff) |
handle
.if n
.if t
sequences (see jadetex.1)
okay jmc@
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/makewhatis/OpenBSD/Makewhatis/Unformated.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/makewhatis/OpenBSD/Makewhatis/Unformated.pm b/libexec/makewhatis/OpenBSD/Makewhatis/Unformated.pm index b62a70cdfd6..e2b124aa934 100644 --- a/libexec/makewhatis/OpenBSD/Makewhatis/Unformated.pm +++ b/libexec/makewhatis/OpenBSD/Makewhatis/Unformated.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Unformated.pm,v 1.2 2004/12/24 00:00:05 espie Exp $ +# $OpenBSD: Unformated.pm,v 1.3 2005/01/13 11:22:24 espie Exp $ # Copyright (c) 2000-2004 Marc Espie <espie@openbsd.org> # # Permission to use, copy, modify, and distribute this software for any @@ -113,6 +113,8 @@ sub handle while (<$f>) { next unless m/^\./ || $found_old || $found_new; next if m/^\.\\\"/; + next if m/^\.if\s+t\s+/; + s/^\.if\s+n\s+//; if (m/^\.\s*de/) { while (<$f>) { last if m/^\.\s*\./; |