home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!caen!nic.umass.edu!news.amherst.edu!twpierce
- From: twpierce@unix.amherst.edu (Tim Pierce)
- Subject: Re: Erasing words with less than n letters
- Message-ID: <Bx8EE2.Cw5@unix.amherst.edu>
- Organization: Homosexual Fascist Lobby, Rampant Paranoia Division
- References: <1992Nov4.180618.9183@inesc.pt>
- Date: Thu, 5 Nov 1992 07:06:01 GMT
- Lines: 14
-
- In article <1992Nov4.180618.9183@inesc.pt> jota@iguana.inesc.pt writes:
-
- > Is there a way of erasing the words with less than n letters
- >using unix ? sed ? awk ? The words (in a dictionary) are sorted and
- >one per line.
-
- Unless I'm missing something big, you could do
-
- grep ....... filename
-
- --
- ____ Tim Pierce /
- \ / twpierce@unix.amherst.edu / I use antlers in all of my decorating.
- \/ (BITnet: TWPIERCE@AMHERST) /
-