home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / shell / 3852 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  958 b 

  1. Path: sparky!uunet!mcsun!uknet!tlg
  2. From: tlg@uknet.ac.uk (Tim.Goodwin)
  3. Newsgroups: comp.unix.shell
  4. Subject: Re: Could someone help me with script?
  5. Message-ID: <1390@uknet.ac.uk>
  6. Date: 8 Sep 92 16:20:37 GMT
  7. References: <1992Sep3.151142.27136@u.washington.edu> <92247.223516FFAAC09@cc1.kuleuven.ac.be> <1992Sep5.080946.4918@u.washington.edu>
  8. Organization: UKnet
  9. Lines: 15
  10.  
  11. In article <1992Sep5.080946.4918@u.washington.edu> micah@hardy.u.washington.edu
  12. (Micah Anderson) writes:
  13. >is there a flag in uniq that will remove BOTH addresses if there are
  14. >two duplicate lines? If there is (I can't find one in the man pages) then
  15. >I can simply go cat unsub >> /com/mailer/TMBG/USERS and then uniq out
  16. >BOTH addresses (after a sort)... or should I go about this another way?
  17.  
  18. Try
  19.  
  20.         comm -23 /com/mailer/TMBG/USERS unsub
  21.  
  22. Tim.
  23. -- 
  24. perhaps if people had understood fork() better we | ; who am i
  25. wouldn't have threads - Rob Pike.                 | uknet.ac.uk!tlg
  26.