There are a number of ways to modify commands in the stack:
.E |
Edits statements in the stack. |
.M |
Modifies top statement by replacing specified text. |
.A |
Appends text to top statement in stack. |
Because the last two commands affect only the top statement in the stack, they are often used after the .G command to get any command in the stack and bring it to the top.
All of these commands affect the contents of the stack; however, they do not cause the modified statements to be executed. That must be done explicitly, using the TCL Stacker execute command .X.
See Also
Executing Previous Statements (.X)
Replacing Text in the Stack (.M)
Storing a Series of Statements (.C)