aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/man/makewhatis/makewhatis.perl
diff options
context:
space:
mode:
authorWolfram Schneider <wosch@FreeBSD.org>1997-03-14 21:58:43 +0000
committerWolfram Schneider <wosch@FreeBSD.org>1997-03-14 21:58:43 +0000
commit2e6c23155e5bd27cf638b443924471b575f9a0b8 (patch)
treed1da12c6e8d3f5c3b8de2dd114ea50597a551a72 /gnu/usr.bin/man/makewhatis/makewhatis.perl
parent670fdefe24437404fd1ca0be6bc83cd08579dea5 (diff)
downloadsrc-2e6c23155e5bd27cf638b443924471b575f9a0b8.tar.gz
src-2e6c23155e5bd27cf638b443924471b575f9a0b8.zip
Support german mdoc man pages (currently no german mdoc man page exists).
Support japanese FreeBSD man pages, Jpman Project.
Notes
Notes: svn path=/head/; revision=23890
Diffstat (limited to 'gnu/usr.bin/man/makewhatis/makewhatis.perl')
-rw-r--r--gnu/usr.bin/man/makewhatis/makewhatis.perl6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/man/makewhatis/makewhatis.perl b/gnu/usr.bin/man/makewhatis/makewhatis.perl
index f5b05521d610..453787e3e0bf 100644
--- a/gnu/usr.bin/man/makewhatis/makewhatis.perl
+++ b/gnu/usr.bin/man/makewhatis/makewhatis.perl
@@ -26,7 +26,7 @@
#
# makewhatis -- update the whatis database in the man directories.
#
-# $Id: makewhatis.perl,v 1.14 1997/03/01 15:20:50 wosch Exp $
+# $Id: makewhatis.perl,v 1.11 1996/08/27 20:04:09 wosch Exp $
sub usage {
@@ -337,7 +337,7 @@ sub manual {
while(<F>) {
# ``man'' style pages
# &&: it takes you only half the user time, regexp is slow!!!
- if (/^\.SH/ && /^\.SH[ \t]+["]?(NAME|Name|NAMN|BEZEICHNUNG)["]?/) {
+ if (/^\.SH/ && /^\.SH[ \t]+["]?(NAME|Name|NAMN|BEZEICHNUNG|̾)["]?/) {
#while(<F>) { last unless /^\./ } # Skip
#chop; $list = $_;
while(<F>) {
@@ -354,7 +354,7 @@ sub manual {
}
}
&out($list); close F; return 1;
- } elsif (/^\.Sh/ && /^\.Sh[ \t]+["]?(NAME|Name)["]?/) {
+ } elsif (/^\.Sh/ && /^\.Sh[ \t]+["]?(NAME|Name|BEZEICHNUNG|̾)["]?/) {
# ``doc'' style pages
local($flag) = 0;
while(<F>) {