From: handa Date: Thu, 10 May 2007 10:51:45 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: REL-1-4-0~100 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=111980f2b1de7e31acba9145a4a7ffc126348f20;p=m17n%2Fm17n-db.git *** empty log message *** --- diff --git a/LANGNAME.awk b/LANGNAME.awk index 514b573..8735540 100644 --- a/LANGNAME.awk +++ b/LANGNAME.awk @@ -88,8 +88,9 @@ BEGIN { else { gsub(" \\(Other\\)$", "", name); gsub(" languages$", "", name); - if (name ~ /\\(.*[0-9].*\\)$/) + if (name ~ /\(.*[0-9].*\)$/) { gsub(" \\([^)]*\\)$", "", name); + } if (name ~ ", ") { split(name,array2,", "); name = array2[2] " " array2[1]; @@ -108,7 +109,7 @@ BEGIN { gsub(", autres$", "", name); gsub(", langues$", "", name); gsub(", langues (famille)$", "", name); - if (name ~ /\\(.*[0-9].*\\)$/) + if (name ~ /\(.*[0-9].*\)$/) gsub(" \\([^)]*\\)$", "", name); if (name ~ ", ") { split(name,array2,", "); diff --git a/LANGUAGE.awk b/LANGUAGE.awk index 9b1e4f3..0d53f1f 100644 --- a/LANGUAGE.awk +++ b/LANGUAGE.awk @@ -80,7 +80,7 @@ BEGIN { gsub("; .*", "", name); gsub(" \\(Other\\)$", "", name); gsub(" languages$", "", name); - if (name ~ /\\(.*[0-9].*\\)$/) + if (name ~ /\(.*[0-9].*\)$/) gsub(" \\([^)]*\\)$", "", name); if (name ~ ", ") { split(name,array,", ");