home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!jvnc.net!gmd.de!wittig
- From: wittig@gmd.de (Georg Wittig)
- Subject: Re: Erasing words with less than n letters
- Message-ID: <wittig.720968081@gmd.de>
- Sender: news@gmd.de (USENET News)
- Nntp-Posting-Host: gmdzi
- Organization: GMD, Sankt Augustin, Germany
- References: <1992Nov4.180618.9183@inesc.pt>
- Date: Thu, 5 Nov 1992 12:54:41 GMT
- Lines: 12
-
- jota@iguana.iguana.pt (Joao Pedro Martins) 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.
-
- awk 'length>=n' INPUT_FILE > OUTPUT_FILE
- --
- Georg Wittig GMD-I8.IT Schloss Birlinghoven P. O. Box 1316 D-W-5205 Sankt Augustin 1 Germany
- email: Georg.Wittig@gmd.de telephone: (+49) 2241 14-2294
- ------------------------------------------------------------------------------
- "In the beginning was the word, but it wasn't a fixed number of bits."
-