From 111980f2b1de7e31acba9145a4a7ffc126348f20 Mon Sep 17 00:00:00 2001 From: handa Date: Thu, 10 May 2007 10:51:45 +0000 Subject: [PATCH] *** empty log message *** --- LANGNAME.awk | 5 +++-- LANGUAGE.awk | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) 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,", "); -- 1.7.10.4