home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Interactive Guide / c-cplusplus-interactive-guide.iso / c_ref / csource4 / 205_01 / words.doc < prev    next >
Encoding:
Text File  |  1979-12-31  |  640 b   |  21 lines

  1. -------------------------------------------------------------------------------
  2.  WORDS
  3. -------------------------------------------------------------------------------
  4.  
  5. Format:
  6.  
  7.      words [< filename]
  8.  
  9. Purpose:
  10.  
  11. WORDS is a text filter that places all words appearing in the standard input
  12. on separate lines.
  13.  
  14. Examples:
  15.  
  16. Place all of the words in the file named textfile on individual lines, sort
  17. those lines, make a list of how many times each of the words occurred, and
  18. save that list in the file named wordlist.
  19.  
  20.      words < textfile | sort | freq > wordlist
  21.