Great Circle Associates Majordomo-Users
(September 1997)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: majorcool problem?
From: alan @ ernest . itg . ti . com (Alan Edmonds)
Organization: Sterling Software, Plano, TX.
Date: Fri, 5 Sep 1997 12:12:30 -0500 (CDT)
To: majordomo-users @ greatcircle . com
Cc: Bill . Houle @ SanDiegoCA . NCR . COM

I would like majorcool to do case insentive comparisons when checking
for email addresses in lists.  We have some people as John_Doe@corp.com
john_doe@corp.com and JOHN_DOE@corp.com (and all other combinations).
They are all the same person.  I made a quick fix to majorcool.pl.
Does this look like a legit fix?

*** majorcool.pl        Fri Sep  5 12:05:19 1997
--- majorcool.pl.orig   Fri Sep  5 12:09:51 1997
***************
*** 2292,2298 ****
                        # Majordomo will(should) not allow duplicate
                        #   addresses, so one match is sufficient
                        #   for the straight comparison case
!                       if ( /$address/i ) {
                                $hit = "$_\n";
                                last;
                                                 last;
                        }
--- 2292,2298 ----
                        # Majordomo will(should) not allow duplicate
                        #   addresses, so one match is sufficient
                        #   for the straight comparison case
!                       if ($_ eq $address) {
                                $hit = "$_\n";
                                last;
                        }

-- 
Alan Edmonds, KB5ZUY                          Sterling Software
System Administrator, Composer Development    M/S 8515
Phone: +1-972-575-6427                        6620 Chase Oaks Blvd.
Email: Alan.Edmonds@ti.com                    Plano, TX, USA  75023

Indexed By Date Previous: majordomo/usenet
From: Colin Forde <c.forde@qub.ac.uk>
Next: Re: majorcool problem?
From: Bill Houle <Bill.Houle@SanDiegoCA.NCR.COM>
Indexed By Thread Previous: majordomo/usenet
From: Colin Forde <c.forde@qub.ac.uk>
Next: Re: majorcool problem?
From: Bill Houle <Bill.Houle@SanDiegoCA.NCR.COM>

Google
 
Search Internet Search www.greatcircle.com