December 27, 1989; Ralph E. Griswold
This file is in the public domain.
This program tabulates words and lists number of times each
word occurs. A word is defined to be a string of consecutive
upper- and lowercase letters with at most one interior occurrence
of a dash or apostrophe.
Options: The following options are available:
-a Write the summary in alphabetical order of the words.
This is the default.
-i Ignore case distinctions among letters; uppercase
letters are mapped into to corresponding lowercase
letters on input. The default is to maintain case dis-
tinctions.
-n Write the summary in numerical order of the counts.
-l n Tabulate only words longer than n characters. The
default is to tabulate all words.
-u Write only the words that occur just once.
Source code |
Program Library Page |
Icon Home Page