From: handa Date: Thu, 10 May 2007 04:47:06 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: REL-1-4-0~102 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8cad6a4c9766063f9cdab8097832dfc93693fd9;p=m17n%2Fm17n-db.git *** empty log message *** --- diff --git a/LANGNAME.awk b/LANGNAME.awk index 530ef1a..514b573 100644 --- a/LANGNAME.awk +++ b/LANGNAME.awk @@ -86,10 +86,10 @@ BEGIN { if (name == "Greek, Modern (1453-)") name = "Greek"; else { - gsub(" \(Other\)$", "", name); + gsub(" \\(Other\\)$", "", name); gsub(" languages$", "", name); - if (name ~ /\(.*[0-9].*\)$/) - gsub(" \([^)]*\)$", "", name); + if (name ~ /\\(.*[0-9].*\\)$/) + gsub(" \\([^)]*\\)$", "", name); if (name ~ ", ") { split(name,array2,", "); name = array2[2] " " array2[1]; @@ -108,8 +108,8 @@ BEGIN { gsub(", autres$", "", name); gsub(", langues$", "", name); gsub(", langues (famille)$", "", name); - if (name ~ /\(.*[0-9].*\)$/) - gsub(" \([^)]*\)$", "", name); + if (name ~ /\\(.*[0-9].*\\)$/) + gsub(" \\([^)]*\\)$", "", name); if (name ~ ", ") { split(name,array2,", "); name = array2[2] " " array2[1]; diff --git a/LANGUAGE.awk b/LANGUAGE.awk index 07c9302..9b1e4f3 100644 --- a/LANGUAGE.awk +++ b/LANGUAGE.awk @@ -78,10 +78,10 @@ BEGIN { name = "Greek"; else { gsub("; .*", "", name); - gsub(" \(Other\)$", "", name); + gsub(" \\(Other\\)$", "", name); gsub(" languages$", "", name); - if (name ~ /\(.*[0-9].*\)$/) - gsub(" \([^)]*\)$", "", name); + if (name ~ /\\(.*[0-9].*\\)$/) + gsub(" \\([^)]*\\)$", "", name); if (name ~ ", ") { split(name,array,", "); name = array[2] " " array[1];