noft Manual (G06.26+)

noft Options
noft Manual528273-001
3-4
! (Exclamation Point)
! (Exclamation Point)
The ! (exclamation point) option executes a previously executed command.
history-number
is the history-buffer number of the command to be reexecuted.
-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 ! 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 3-43, particularly Example 3-10 on page 3-19). The default size of the history
buffer is 50 commands.
If you do not specify history-number, -history-offset, or text, the ! option
executes the previous command.
Note. This option works only in an interactive session.
! [ history-number | -history-offset | text ]