Any statement can be re-executed from the stack. The .X command without any parameters executes the top statement in the stack (the last statement entered). In addition, the command accepts parameters as follows:
.Xn [,n1, n2,...] |
Parameter(s)
n |
Statement number identifying a statement in the stack. This statement is moved from its original position to the top of the stack (the last statement entered). A series of statements can be executed by specifying the numbers of these statements, separated by commas, in the order of execution. |
The statement is displayed before the command is executed. The command is not duplicated on the stack unless n1 equals n2.
See Also
Replacing Text in the Stack (.M)
Storing a Series of Statements (.C)