TACL Reference Manual
UTILS:TACL Commands and Functions
HP NonStop TACL Reference Manual—429513-018
8-267
Exclamation Point (!) Command
Exclamation Point (!) Command
Use the exclamation point (!) command to reexecute immediately a previous command
line, without modifications.
num
is an absolute history number.
- num
is a number relative to the current history number.
text
is a text string.
Considerations
•
If you enter nothing but !, TACL reexecutes the previous command (! is the same
as ! - 1).
•
If TACL cannot find a command that matches your specification, whether by
absolute history number, relative history number, or command text, it issues an
error message.
•
You must enter the ! command from the IN file (normally your home terminal); you
cannot include it in a macro, for example. Similarly, you cannot change ! to another
name with an ALIAS, nor can you program a function key to execute the !
command.
Examples
1. This example illustrates the use of the ! command to recall and reexecute the
coding at history number 5:
10> !5
10> OUTVAR edstat
STATUS *,PROG $SYSTEM.SYSTEM.TEDIT
2. This example shows the use of the ! command to reexecute the most recent
occurrence of a SET command:
11> !SET
11> SET VARIABLE edstat STATUS *,PROG $SYSTEM.SYSTEM.TEDIT
!
[num]
[- num]
[text]