version 1.6, 1999/07/04 11:53:54 |
version 1.7, 2000/03/07 21:11:08 |
|
|
.Ar name.f , |
.Ar name.f , |
where |
where |
.Ar name |
.Ar name |
is the name of the program unit (e.g. function, subroutine, block data or |
is the name of the program unit (e.g., function, subroutine, block data or |
program). The name for unnamed block data subprograms has the form |
program). |
.Ar blkdtaNNN.f |
.Pp |
|
The name for unnamed block data subprograms has the form |
|
.Ar blkdtaNNN.f , |
where NNN is three digits and a file of this name does not already exist. |
where NNN is three digits and a file of this name does not already exist. |
For unnamed main programs the name has the form |
For unnamed main programs the name has the form |
.Ar mainNNN.f . |
.Ar mainNNN.f . |
|
|
.Ar name.f |
.Ar name.f |
already exists, |
already exists, |
the program unit will be put in a file of the form |
the program unit will be put in a file of the form |
.Ar zzzNNN.f |
.Ar zzzNNN.f , |
where |
where |
.Ar zzzNNN.f |
.Ar zzzNNN.f |
does not already exist. |
does not already exist. |
|
.Pp |
|
The options are as follows: |
.Bl -tag -width Fl |
.Bl -tag -width Fl |
.It Fl e Ar efile |
.It Fl e Ar efile |
Normally each subprogram unit is split into a separate file. When the |
Normally each subprogram unit is split into a separate file. |
|
When the |
.Fl e |
.Fl e |
option is used, only the specified subprogram units are split into separate |
option is used, only the specified subprogram units are split into separate |
files. E.g.: |
files. e.g., |
.Pp |
.Pp |
.Dl fsplit -e readit -e doit prog.f |
.Dl fsplit -e readit -e doit prog.f |
.Pp |
.Pp |
will split readit and doit into separate files. |
will split |
|
.Dq readit |
|
and |
|
.Dq doit |
|
into separate files. |
.El |
.El |
.Sh DIAGNOSTICS |
.Sh DIAGNOSTICS |
If names specified via the |
If names specified via the |
|
|
.Sh BUGS |
.Sh BUGS |
.Nm |
.Nm |
assumes the subprogram name is on the first noncomment line of the subprogram |
assumes the subprogram name is on the first noncomment line of the subprogram |
unit. Nonstandard source formats may confuse |
unit. |
|
Non-standard source formats may confuse |
.Nm fsplit . |
.Nm fsplit . |
.Pp |
.Pp |
It is hard to use |
It is hard to use |