nld and noft Manual

noft Options
nld and noft Manual520384-003
5-14
FC
FC
The FC (Fix Command) allows you to edit or repeat a previously executed command.
When you enter FC, the last command line you typed appears followed by the FC
prompt, a period (.), on the next line. At the prompt, you can enter the subcommands
R, I, and D to replace, insert, and delete characters in the command line. See the
Guardian User’s Guide for more information.
history-number
is the history-buffer number of the command to be edited or re-executed.
-history-offset
is a negative offset from the command that history-number represents. The
immediately preceding command is -1.
text
is a string of characters. If you provide text instead of history-number or
-history-offset, the FC option executes the most recently executed command
that begins with the string text.
The history-buffer number of the command specified by history-number,
-history-offset, or text must be less than or equal to the number of commands
in the history buffer, which is determined by SET HISTORYBUFFER (see SET on
page 5-42, particularly Example 5-8 on page 5-19). The default size of the history
buffer is 50 commands.
If you do not specify history-number, -history-offset, or text, the FC option
uses the previous command.
Note. This option works only in an interactive session.
FC [ history-number | -history-offset | text ]