Re: [exim] bash or perl question

Etusivu
Poista viesti
Vastaa
Lähettäjä: Rory Campbell-Lange
Päiväys:  
Vastaanottaja: Marc Perkel
Kopio: exim-users
Aihe: Re: [exim] bash or perl question
On 22/06/06, Marc Perkel (marc@???) wrote:
> There are probably people out there who just know how to do this in a
> simple way.
>
> I have two files. Both files are text files that have IP addresses on
> separate lines. Both are alphabetical. What I want to do is read file A
> and file B and create file C that has all the IP addresses in file A
> that do not match the addresses in file B.
>
> Trying a new spam processing trick creating a whitelist of every IP
> address where I got 10 or more hams and no spams. That way I can just
> have a host whitelist that I don't have to run through spamassassin.


join -v1 A B > C

--
Rory Campbell-Lange
<rory@???>
<www.campbell-lange.net>