4.3BSD/usr/contrib/icon/man/cat1/i-split.1
I-SPLIT(1) Icon Program Library I-SPLIT(1)
NNNNAAAAMMMMEEEE
i-split - split Icon program into separate files
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
iiii----sssspppplllliiiitttt [----gggg file]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_I-_s_p_l_i_t reads an Icon program from standard input and writes
each procedure to a separate file. The output file names
consist of the procedure name with ....iiiiccccnnnn appended. If the ----gggg
option is specified, any global, external, and record
declarations are written to that file. Otherwise they are
written in the file for the procedure that immediately fol-
lows them.
Comments and white space between declarations are attached
to the next following declaration.
LLLLIIIIMMMMIIIITTTTAAAATTTTIIIIOOOONNNNSSSS
_I-_s_p_l_i_t only recognizes declarations that start at the
beginning of lines.
Comments and interline white space between declarations may
not come out as intended.
If the ----gggg option is not specified, any global, external, or
record declarations that follow the last procedure are dis-
carded.
AAAAUUUUTTTTHHHHOOOORRRR
Ralph E. Griswold
Version 5.9 The University of Arizona - 5/28/83 1