home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / question / 12930 < prev    next >
Encoding:
Text File  |  1992-11-04  |  833 b   |  25 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!caen!nic.umass.edu!news.amherst.edu!twpierce
  3. From: twpierce@unix.amherst.edu (Tim Pierce)
  4. Subject: Re: Erasing words with less than n letters 
  5. Message-ID: <Bx8EE2.Cw5@unix.amherst.edu>
  6. Organization: Homosexual Fascist Lobby, Rampant Paranoia Division
  7. References: <1992Nov4.180618.9183@inesc.pt>
  8. Date: Thu, 5 Nov 1992 07:06:01 GMT
  9. Lines: 14
  10.  
  11. In article <1992Nov4.180618.9183@inesc.pt> jota@iguana.inesc.pt writes:
  12.  
  13. >    Is there a way of erasing the words with less than n letters
  14. >using unix ? sed ? awk ? The words (in a dictionary) are sorted and
  15. >one per line.
  16.  
  17. Unless I'm missing something big, you could do
  18.  
  19.      grep ....... filename
  20.  
  21. -- 
  22. ____ Tim Pierce                / 
  23. \  / twpierce@unix.amherst.edu / I use antlers in all of my decorating.
  24.  \/ (BITnet: TWPIERCE@AMHERST) / 
  25.