procedure grepeat: reduce grid to smallest repeatJuly 13, 2002; Ralph E. Griswold
BLPs are read from standard input and their unit generators written
to standard output.
The following command line option is supported:
-c assume complete repeats; default, do not