lc.icn: Program to count lines in file

July 19, 1994; Ralph E. Griswold
This file is in the public domain.
This program simply counts the number of lines in standard input
and writes the result to standard output.

Assumes UNIX-style line terminators.

Requires lots of memory as written.

Source code | Program Library Page | Icon Home Page