Re: [exim] bash or perl question

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Jeremy Harris
Data:  
Para: exim-users
Assunto: 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