concord.icn: Program to produce concordance

October 9, 1994; Ralph E. Griswold
This file is in the public domain.
   This program produces a simple concordance from standard input to standard
output. Words less than three characters long are ignored.

   There are two options:

     -l n    set maximum line length to n (default 72), starts new line
     -w n    set maximum width for word to n (default 15), truncates

   There are lots of possibilities for improving this program and adding
functionality to it. For example, a list of words to be ignored could be
provided.  The formatting could be made more flexible, and so on.
____________________________________________________________

   Note that the program is organized to make it easy (via item()) to
handle other kinds of tabulations.

Source code | Program Library Page | Icon Home Page