On Sun, Nov 19, 2000 at 11:19:27AM -0800, Joshua Beining wrote:
> [big shell script deleted]
> Hope this helps.
> -----Original Message-----
> From: Deim Agoston
>> I've got two files one email address per line in each. I want to
> separate
> them in the way that if user1 has presence in both list take him/her out
> and put into another file. Which tool would be thge best ? The lists has
> 28000 and 29000 addresses.
eek!
sort list1 list2 | uniq -d > list.union
this completes in 5 seconds on a celery 333 with a 45k line
/usr/dict/words passed as list1 and list2.
sort, uniq, awk, cut, and join are great commands to learn.
kevin
--
kevin at suberic.net q: what's the difference between batman & b. gates?
fork()'ed on 37058400 a: when batman fought the penguin, he won.
meatspace place: home http://suberic.net/~kevin/
>> want privacy? www.gnupg.org or www.pgp.com. encrypted mail preferred <<
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!