f90split(1f) - [DEVELOPER] split Fortran source file into individual files (LICENSE:PD)
Synopsis
Description
Options
License
Examples
See Also
f90split < largefile [ > list_file ] |[ --help| --version]
f90split(1) is a Fortran 90 utility to split free source form code into as many files as there are procedures. Contained procedures are stored within their container.Split standard input stream, containing source of several fortran90 program units into individual files. each output file contains a single program unit named after the unit, unless that filename exists. If the name exists a file will be created names main0001.f90-main9999.f90, or bdta0001.f90-bdta9999.f90. If a file with that name already exists, it is put in dupl0001.f90-dupl9999.f90.
Lists on stdout the use and include dependencies
--help display this help and exit --version output version information and exit
All rights to this code waived, so that it may be freely distributed as public domain software subject to the condition that these 6 lines are verbatim reproduced.Originally written by Michel Olagnon, from Ifremer, France, who would be pleased to receive your comments and corrections.
M. Olagnon (Michel.Olagnon@ifremer.fr) Improved by Phil Garnatz, Cray Research Inc. for makefile generation
Sample commands
f90split < myprogram.f90
f90split(1)
f90split (1) | March 11, 2021 |