The fsplit command splits the specified Fortran source program files into several files. You should only use fsplit with FORTRAN 77 programs.
$ cat fsplit.f subroutine sub1 print *,'Hello world' end subroutine sub2 print *,'Goodbye' end program main call sub1 call sub2 end $ fsplit fsplit.f sub1.f sub2.f main.f |