summaryrefslogtreecommitdiff
path: root/libexec/makewhatis/OpenBSD
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2009-10-11 08:14:38 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2009-10-11 08:14:38 +0000
commitf8cf00a07d924702c9a159732d7e76711d4e2522 (patch)
tree1a257e810b33c7dcd22b70a2be6be8915d58482a /libexec/makewhatis/OpenBSD
parentd4afc6a0539aeac9b14e30d260e508920f685565 (diff)
Support manpages with NAME written in Spanish/Italian/Portuguese
ok espie@
Diffstat (limited to 'libexec/makewhatis/OpenBSD')
-rw-r--r--libexec/makewhatis/OpenBSD/Makewhatis/Formated.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/makewhatis/OpenBSD/Makewhatis/Formated.pm b/libexec/makewhatis/OpenBSD/Makewhatis/Formated.pm
index f909fe08e5c..1b6c850a0bf 100644
--- a/libexec/makewhatis/OpenBSD/Makewhatis/Formated.pm
+++ b/libexec/makewhatis/OpenBSD/Makewhatis/Formated.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Formated.pm,v 1.3 2005/03/05 11:02:35 espie Exp $
+# $OpenBSD: Formated.pm,v 1.4 2009/10/11 08:14:37 sthen Exp $
# Copyright (c) 2000-2004 Marc Espie <espie@openbsd.org>
#
# Permission to use, copy, modify, and distribute this software for any
@@ -96,7 +96,7 @@ sub handle
}
# Not all man pages are in english
# weird hex is `Namae' in japanese
- if (m/^(?:NAME|NAMES|NAMN|Name|\xbe|\xcc\xbe\xbe\xce|\xcc\xbe\xc1\xb0)\s*$/) {
+ if (m/^(?:NAME|NAMES|NAMN|NOMBRE|NOME|Name|\xbe|\xcc\xbe\xbe\xce|\xcc\xbe\xc1\xb0)\s*$/) {
unless (defined $section) {
# try to retrieve section from filename
if ($filename =~ m/(?:cat|man)([\dln])\//) {