TACL Reference Manual
UTILS:TACL Commands and Functions
HP NonStop TACL Reference Manual—429513-018
8-268
Question Mark (?) Command
Question Mark (?) Command
Use the question mark (?) command to display a previous command line.
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 a question mark (?) without an argument, TACL displays 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.
•
The ? command does not increment the history number in the TACL prompt.
Examples
1. In this example, the user first uses the ? command to determine what command 
was issued at history number 5. The user then enters the ! command to reexecute 
that command (OUTVAR edstat).
10> ?5
10> OUTVAR edstat
10> !5
STATUS *,PROG $SYSTEM.SYSTEM.TEDIT
 ?
 [num]
 [- num]
 [text]










