SCF Reference Manual for G-Series RVUs (G06.24+)
SCF Commands
SCF Reference Manual for G-Series RVUs—520413-004
5-62
FC Command
FC Command
The FC (fix command) command provides the ability to edit and repeat a command
line.
FC displays the specified command line, up to 2048 characters, and prompts for
editing input by displaying two periods. Continued command lines—commands
entered with the ampersand (&) continuation character—are displayed fully assembled,
without the ampersand.
[ - ] number
if the minus sign is omitted, is the line number of the command line to be fixed. If
the minus sign is present, the current command-line number minus number is the
line number of the command line to be fixed.
character-string
is the first few characters of the command line to be fixed. The most recent
command line whose first characters match the string is fixed.
Considerations
•
If you use FC alone, the previous command is fixed (FC alone is the same as FC
-1).
•
If you specify a negative number and the associated command line is no longer in
the history buffer, you get an error message. (The history buffer of command lines
is at least as big as the input buffer; that is, it is at least 2048 bytes in length.)
•
The FC command does not increment the command-line number in the SCF
prompt.
•
The FC command cannot be issued by a noninteractive user; if encountered, it is
ignored.
•
Another command cannot follow the FC command on the same line.
Example
The following is an example of FC command usage with explanatory text to the right of
the example screen text:
-> FC
..STARFUS LINE 4
.. DDIT delete the letters RF and insert the letter T
..STATUS LINE 4
.. $LHX1 replace the 4 and spaces with $LHX1
FC [ - ] number | character-string