papply.icn: Program to apply procedure to lines of file

May 31, 1994; Ralph E. Griswold
This file is in the public domain.
This program applies the procedure given as a command-line argument
to each line of standard input, writing out the results.  For example,

     papply reverse <foo

writes out the lines of foo reversed end-for-end.

As it stands, there is no way to provide other arguments.  That' easy
to remedy.

Except for use with (built-in) functions, this program needs to be linked
with procedures that might be used with it.

Source code | Program Library Page | Icon Home Page