X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=tel2name;h=819f0b5e7af9daffcd80cde3c2b0de2cbfc2b364;hb=2b7d9218797959988e25c6cc8282a2f5eaa107fe;hp=7e013028b98e40f2f533346665378184c1b58a62;hpb=d865a9082a348e93d66f7a2f6e99f9407fcab6e4;p=utils.git diff --git a/tel2name b/tel2name index 7e01302..819f0b5 100755 --- a/tel2name +++ b/tel2name @@ -93,7 +93,7 @@ binmode(WP, ":utf8"); match: while() { chomp; for $prev (@matches) { - next match if $prev eq $_; + next match if (lc $prev) eq (lc $_); } print "$_\n"; flush; @@ -102,7 +102,7 @@ match: while() { match: while() { chomp; for $prev (@matches) { - next match if $prev eq $_; + next match if (lc $prev) eq (lc $_); } print "$_\n"; flush;