home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!agate!usenet.ins.cwru.edu!cleveland.Freenet.Edu!cq377
- From: cq377@cleveland.Freenet.Edu (David C. Williss)
- Newsgroups: comp.unix.questions
- Subject: Re: Matching two lists
- Date: 1 Jan 1993 01:49:34 GMT
- Organization: Case Western Reserve University, Cleveland, OH (USA)
- Lines: 31
- Message-ID: <1i07vfINN256@usenet.INS.CWRU.Edu>
- References: <1992Dec31.201434.26027@wariat.org> <1992Dec31.182128.29042@magnus.acs.ohio-state.edu> <C051yz.Eu4@ux1.cso.uiuc.edu>
- Reply-To: cq377@cleveland.Freenet.Edu (David C. Williss)
- NNTP-Posting-Host: hela.ins.cwru.edu
-
-
-
- As quoted from <C051yz.Eu4@ux1.cso.uiuc.edu> by krisk@ux1.cso.uiuc.edu (Kris Klindworth):
-
- +---------------
- > szatezal@magnus.acs.ohio-state.edu (Shane M Zatezalo) writes:
- >
- >
- > >I have a whole long list of email addresses, and I want to get
- > >the double entries out of it.
- >
- > >What's the easiest way of doing this? The list is just a straight
- > >text file... like:
- >
- > >joe_scmoe@joeville.com
- > >charleyb@peanut.gallery
- >
- > sort file|uniq >newfile
- >
-
- God I love Unix! I wish I had known that about a month ago. Our
- office person came to me with a mailing list of about 6000 people
- who we needed to mail (ie: U.S. Snail) stuff to. I was able to
- sort them by Zip Code (although I had to sort out Canadian postal
- codes by hand), bud didn't know about uniq.
-
- Just try to do _that_ under MS-DOS!
- --
- -Dave Williss
- ---------------------------------------------------------------------------
- Standards are great! Everybody should have one of their own!
-