[UPHPU] Help deduping, dedupe 2 text lists.
thebigdog
bigdog at venticon.com
Tue Oct 28 12:18:13 MDT 2008
Ash wrote:
> I have a text file (list 1) that has 10,000 records in it (addresses)
> and another that has 15,000 records (list 2). List 2 contains all the
> records that List 1 does. I need to get the 5,000 records that are in
> list 2 but not in list 1.
>
> I tried comm -3 list\ 1 list\ 2
>
> But it gave me back 25000 records. Comm -1 and comm -2 give 15000 and
> 10000 respectively.
>
> Any other way to do it?
diff the 2 files. just make sure that you sort each file properly.
--
thebigdog
More information about the UPHPU
mailing list