xformpat.icn: Program to apply transformation to patterns

August 12, 1993; Ralph E. Griswold
This file is in the public domain.
This program takes patterns from standard input and applies a
transformation to each one, writing the results to standard output.
The transformation to be applied is given in terms of command-line
arguments, with the transformation first, followed by any arguments,
as in

     xformpat center 32 32

which would attempt to produce a 32x32 centered pattern from each
pattern in standard input.

Warning:  Some transformations can fail.  In cae of failure, no
pattern is written.

Source code | Program Library Page | Icon Home Page