headicon.icn: Program to add header to Icon program

November 20, 1997; Ralph E. Griswold
Requires: system(), vi(1)
This file is in the public domain.
This program prepends a standard header to an Icon program.  It does not
check to see if the program already has a header.

The first command-line argument is taken as the base
name of the file; default "foo".  The second command-line argument is
taken as the author; the default is "Ralph E. Griswold" -- with minor
apologies, I use this program a lot; personalize it for your own
use.

The new file is brought up in the vi editor.

The file skeleton.icn must be accessible via dopen().

Source code | Program Library Page | Icon Home Page