fsplit(1)
fsplit - split FORTRAN or RATFOR files
As shipped in IRIX 6.5.22. Last changed in IRIX 6.5.19.
NAME fsplit - split FORTRAN or RATFOR files SYNOPSIS fsplit options files DESCRIPTION fsplit splits the named file(s) into separate files, with one procedure per file. A procedure includes blockdata, function, main, program, and subroutine program segments. Procedure X is put in file X.f, X.r, or (depending on the language option chosen) with the following exceptions: * main is put in the file MAIN.[efr] * unnamed blockdataN segments in the files blockdataN.[efr] where N is a unique integer value for each file. The following options are available: -f (default) Input files are FORTRAN. -r Input files are RATFOR. -e Input files are EFL. -s Strip FORTRAN input lines to 72 or fewer characters with trailing blanks removed. -d Create a subdirectory (inputfile.d) for each input file and create the output files within that subdirectory. NOTES The following characters are allowed as name characters in MIPS FORTRAN. If used in subroutine or function names they are also used in the file names of the created files. * dot (.) * underbar (_) * dollar ($) Comment lines after an end and before the next non-comment line are discarded. Comment lines before the first non-comment line are discarded. EFL and RATFOR are handled identically except for the output file name suffix. fsplit does not detect name conflicts between an input file name and an output file name, nor does it detect multiple output files with the same name. For example, if two input files each contain a subroutine named "NARF", fsplit generates two output files called "NARF.f" and the second one overwrites the first. Use the -d option to avoid this problem. SEE ALSO split(1)