[UPHPU] Help deduping, dedupe 2 text lists.

Ash ashovi at qwest.net
Tue Oct 28 11:44:05 MDT 2008


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?

Ash

PS. Sorry for the duplicate message to those of you on BYU UUG list, I 
thought I was sending this to the php list, not the uug.


More information about the UPHPU mailing list