Re: [exim] bash or perl question

Etusivu
Poista viesti
Vastaa
Lähettäjä: Jeremy Harris
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] bash or perl question
Dennis Skinner wrote:
> Marc Perkel wrote:
>>> cat fileA fileB | sort | uniq -u > fileC
>>>
>> Unfirtunately no. file B has addresses mot in file A.
>
> Just do fileB twice then :)
>
> cat fileA fileB fileB | sort | uniq -u > fileC


Ahem... useless cat again.
Also useless uniq.

sort -u fileA fileB fileB >fileC



-Jeremy