countlst.icn: Program to count items in a list

December 30, 1991; Ralph E. Griswold
This file is in the public domain.
   This program counts the number times each line of input occurs and
writes a summary.

   With no option, the output is sorted first by decreasing count and within
each count, alphabetically. With the option -a, the output is sorted
alphabetically.

The option -t prints a total at the end.

Source code | Program Library Page | Icon Home Page