Re: [exim] bash or perl question

Pàgina inicial
Delete this message
Reply to this message
Autor: Jeremy Harris
Data:  
A: exim-users
Assumpte: 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