From f8cf00a07d924702c9a159732d7e76711d4e2522 Mon Sep 17 00:00:00 2001 From: Stuart Henderson Date: Sun, 11 Oct 2009 08:14:38 +0000 Subject: Support manpages with NAME written in Spanish/Italian/Portuguese ok espie@ --- libexec/makewhatis/OpenBSD/Makewhatis/Formated.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libexec/makewhatis/OpenBSD') 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 # # 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])\//) { -- cgit v1.2.3