EXTRACT - Painless Module Extraction

EXTRACT is a simple utility that can pull a copy of a FORTRAN block data, function, module, program or subroutine from a big file, and save the copy in a little file. I've found this extremely useful, as an alternative to printing out a huge library of routines, or using an editor to extract the seven routines I need from a collection of 200.

The program can be used in command line form:

extract module file.f
which will search file.f90 for a module named module, and, if found, write the text to the file module.f90. The program can be invoked interactively with no arguments:
extract
in which case it will request the necessary information from the user.

Files you may copy include:

The list of routines includes:

Back to the FORTRAN software page.


Last revised on 25 February 2002.