fpt and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Ref Manual Home |
EDIT OUTPUT FILE NAMES
EDIT OUTPUT FILE NAMES: REPLACE <string> BY <string>
The specified change is made in the names of all output files and in the file names written in INCLUDE statements.
If name clashes between output files occur as a result of the change, they are resolved by renaming one or more of the files before the output is written.
The string to be replaced is case insensitive. The replacement string is case sensitive.
The case in which the names are written may be changed by the commands UPPER CASE FILE NAMES and LOWER CASE FILE NAMES.
The file names in INCLUDE statements may be edited without changing the names of the files in the output directories by the command EDIT FILE NAMES IN INCLUDE STATEMENTS.
Where to Use this Command
|Operating system command line||Yes|
|Configuration file, config.fsp||Yes|
|Specification (fsp) files, *.fsp||Yes|
|Interactively, to FPT> prompt||Yes|
|Interactive command files||Yes|
|Embedded in the Fortran code||Yes|
No change is made by default (Note that defaults may be changed in the configuration file).
fpt is run under VMS, preparing files for migration to Unix. The commands:
% lower case file names
% edit output file names: replace '$' by 'dollar_'
are used to change the names written in INCLUDE statements consistently to lower case, and to replace '$' characters by the word 'dollar_'.
LOWER CASE FILE NAMES
UPPER CASE FILE NAMES
EDIT INPUT FILE NAMES
EDIT FILE NAMES IN INCLUDE STATEMENTS
Copyright ©1995 to 2022 Software Validation Ltd. All rights reserved.