FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


EDIT OUTPUT FILE NAMES

Syntax:

EDIT OUTPUT FILE NAMES: REPLACE <string> BY <string>

Function:

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.

FPT Versions

Implemented in version 3.3-a and later.

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

No


Default:

No change is made by default (Note that defaults may be changed in the configuration file).

Example:

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_'.

See Also

LOWER CASE FILE NAMES

UPPER CASE FILE NAMES

EDIT INPUT FILE NAMES

EDIT FILE NAMES IN INCLUDE STATEMENTS


Copyright ©1995 to 2014 Software Validation Ltd. All rights reserved.