home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!paladin.american.edu!gatech!usenet.ins.cwru.edu!wariat!zbig
- From: zbig@wariat.org (Zbigniew J. Tyrlik)
- Subject: Re: Matching two lists
- Message-ID: <1992Dec31.201434.26027@wariat.org>
- Followup-To: comp.unix.questions
- Reply-To: zbig@wariat.org (Zbigniew J. Tyrlik)
- Organization: Akademia Pana Kleksa, Public Access Uni* Site
- References: <1992Dec31.182128.29042@magnus.acs.ohio-state.edu> <C051yz.Eu4@ux1.cso.uiuc.edu>
- Date: Thu, 31 Dec 1992 20:14:34 GMT
- Lines: 39
-
- 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
-
- What about:
-
- sort -u file -o file
-
- >
- > ------------------------------------------------------------------------------
- > Kris Klindworth Internet: krisk@ux1.cso.uiuc.edu
- > Database Programmer Phone : (217)244-7120
- > Illinois State Water Survey US Mail : 2204 Griffith Dr
- >
-
- Champaign, IL 61820
-
-
- _zjt
- --
- ********************************************************************
- Zbigniew J. Tyrlik DoD# 0759 VF700C '84 zbig@wariat.org
- IBM PC SIG Sysop - Cleveland Free-Net aa609@cleveland.freenet.edu
- APK Public Access UNI* Cleveland, (216)-481-9436
- Feeds, shell, FTP & telnet access Uniboard distribution point
- ********************************************************************
-