fsplit.1

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 1 代码 · 共 63 行

1
63
字号
.\" SCCSID: @(#)fsplit.1	8.1	9/11/90.TH fsplit 1 VAX "" Unsupported.SH Namefsplit \- split a multi-routine Fortran file into individual files.SH Syntax.B fsplit[\fB\-e\fI efile...\fR\|] [\|\fIfile\fR\|].SH Description.NXR "fsplit program".NXR "Fortran program" "breaking into separate files"The.PN fsplitcommand takes as input either a file orstandard input containing Fortran source code.It attempts to split the input into separate routine files of theform.I name.f,where.I nameis the name of the program unit(for example, function, subroutine, block data orprogram).  The name for unnamed block data subprograms has the form.I blkdtaNNN.fwhere NNN is three digits and a file of this name does notalready exist.For unnamed main programs the name has the form.I mainNNN.f.If there is an error in classifying a program unit, or if.I name.falready exists,the program unit is put in a file of the form .I zzzNNN.fwhere .I zzzNNN.f does not already exist..PPNormally each subprogram unit is split into a separate file.  .SH Options.IP "\fB\-\|e\fI efile\fR" 12Splits only specified subprogram units into separate files..SH ExamplesThe following example splits readit and doit into separate files:.EXfsplit \-e readit \-e doit prog.f.EE.SH RestrictionsThe.PN fsplitcommand assumes the subprogram name is on thefirst noncomment line of the subprogramunit.  Nonstandard source formats may confuse .PN fsplit ..PPIt is hard to use \fB\-e\fRfor unnamed main programs and block data subprograms since you must predict the created file name..SH DiagnosticsIf names specified using the .B \-eoption are not found, a diagnostic is written to .I standard error.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?