home *** CD-ROM | disk | FTP | other *** search
- -------------------------------------------------------------------------------
- FREQ
- -------------------------------------------------------------------------------
-
- Format:
-
- freq [< filename]
-
- Purpose:
-
- FREQ is a text filter that takes a sorted list of words from the standard
- input and outputs a list of the unique words in the input and the frequency of
- their occurrence.
-
- Examples:
-
- Make a list of the unique words in the file named original and print that list
- on the printer.
-
- freq <original >prn
-
- Place all of the words in the file named textfile on individual lines, sort
- those lines, make a list of how many times the words occurred, and save that
- list as the file named wordlist.
-
- words < textfile | sort | freq > wordlist