home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / question / 15085 < prev    next >
Encoding:
Text File  |  1992-12-31  |  1.8 KB  |  52 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!paladin.american.edu!gatech!usenet.ins.cwru.edu!wariat!zbig
  3. From: zbig@wariat.org (Zbigniew J. Tyrlik)
  4. Subject: Re: Matching two lists
  5. Message-ID: <1992Dec31.201434.26027@wariat.org>
  6. Followup-To: comp.unix.questions
  7. Reply-To: zbig@wariat.org (Zbigniew J. Tyrlik)
  8. Organization: Akademia Pana Kleksa, Public Access Uni* Site
  9. References: <1992Dec31.182128.29042@magnus.acs.ohio-state.edu> <C051yz.Eu4@ux1.cso.uiuc.edu>
  10. Date: Thu, 31 Dec 1992 20:14:34 GMT
  11. Lines: 39
  12.  
  13. As quoted from <C051yz.Eu4@ux1.cso.uiuc.edu> by krisk@ux1.cso.uiuc.edu (Kris Klindworth):
  14.  
  15. +---------------
  16. > szatezal@magnus.acs.ohio-state.edu (Shane M Zatezalo) writes:
  17. > >I have a whole long list of email addresses, and I want to get
  18. > >the double entries out of it.
  19. > >What's the easiest way of doing this? The list is just a straight
  20. > >text file... like:
  21. > >joe_scmoe@joeville.com
  22. > >charleyb@peanut.gallery
  23. > sort file|uniq >newfile
  24.  
  25. What about:
  26.  
  27. sort -u file -o file
  28.  
  29. > ------------------------------------------------------------------------------
  30. > Kris Klindworth                    Internet: krisk@ux1.cso.uiuc.edu
  31. > Database Programmer                Phone   : (217)244-7120
  32. > Illinois State Water Survey        US Mail : 2204 Griffith Dr
  33. >                   
  34.  
  35.                            Champaign, IL 61820
  36.  
  37.  
  38. _zjt
  39. -- 
  40. ********************************************************************
  41. Zbigniew J. Tyrlik       DoD# 0759   VF700C '84      zbig@wariat.org
  42. IBM PC SIG Sysop - Cleveland Free-Net    aa609@cleveland.freenet.edu
  43. APK           Public Access UNI* Cleveland,          (216)-481-9436
  44. Feeds, shell, FTP & telnet access        Uniboard distribution point 
  45. ********************************************************************
  46.