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

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to