*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> fsplit (1)              


FSPLIT(1)							     FSPLIT(1)

NAME    [Toc]    [Back]

     fsplit - split FORTRAN or RATFOR files

SYNOPSIS    [Toc]    [Back]

     fsplit options files

DESCRIPTION    [Toc]    [Back]

     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 X.e
     depending on the language option chosen, with the following exceptions:
     main is put in the	file MAIN.[efr]	and unnamed blockdata segments in the
     files blockdataN.[efr] where N is a unique	integer	value for each file.

     The following options pertain:

     -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    [Toc]    [Back]

     The characters dot	(.), underbar (_), and dollar ($) 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.

     Comment lines after an end	and before the next non-comment	line are
     discarded.	 Comment lines before the first	non-comment line are

     EFL and RATFOR are	handled	identically except for the output file name

     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 will generate two output files called "NARF.f" and the
     second one	will overwrite the first.  Use the -d option to	avoid this

									Page 1

FSPLIT(1)							     FSPLIT(1)

     csplit(1),	split(1).

									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
fsplit OpenBSD split a multi-routine Fortran file into individual files
fweb Linux WEB processors for C, C++, Fortran, Ratfor, and TeX
csplit FreeBSD split files based on context
pssplit IRIX split a PostScript file into separate single-page files
cvpav IRIX present the information about an MP Fortran program from its MIPSpro 7.2 or higher analysis files
cry2mips IRIX Converts Fortran data types between Cray Fortran data types and MIPS IEEE Fortran data types
csplit IRIX context split
csplit HP-UX context split
strtok_r Tru64 Split string into tokens
AutoSplit IRIX split a package for autoloading
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service