f90split


f90split, a C code which reads a Fortran file and creates individual files for every blockdata, function, module, program, or subroutine in the file,

Procedure X is put in file X.f90.

Comments preceding a procedure, and not associated with a preceding procedure, are included with that procedure.

You should not use the more elaborate END statements that include the procedure definition, such as "END FUNCTION ALPHA".

Usage:

f90split myprog.f90
where

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

f90split is available in a C version and a Fortran90 version.

Related Data and Programs:

f90split_test

catalog, a C++ code which reads a C, C++, Fortran77, Fortran90, MATLAB, Python, or R code and prints every line that begins with a special index tag. If the code has been marked up expecting this convention, a handy table of contents will be created.

f77split, a C code which reads a Fortran77 file and creates individual files for every blockdata, function, module, program, or subroutine in the file.

fsplit, a Fortran90 code which reads a Fortran file and creates individual files for every function, program, or subroutine in the file, by Van Snyder.

htmlindex, a C++ code which reads a C, C++, Fortran77, or Fortran90 file and writes a skeleton HTML page describing it, assuming that each subroutine includes a '!!' or 'cc' description line.

include_files, a Fortran90 code which reads a Fortran program with INCLUDE statements, and makes a copy with the indicated files included.

Source Code:


Last revised on 17 April 2021.