From 2b7d9218797959988e25c6cc8282a2f5eaa107fe Mon Sep 17 00:00:00 2001 From: fredrik Date: Thu, 15 May 2008 18:22:48 +0000 Subject: [PATCH] Compare names case insensitively in tel2name. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/utils@1113 959494ce-11ee-0310-bf91-de5d638817bd --- tel2name | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.11.0