You can edit the entire stack. The .E command invokes the line editor on the stack as though it were an item in a file. The standard Editor commands are available to modify any of the statements in the stack.
The .E command accepts one parameter, the number of a statement specified for editing. It is the same as using the Editor and going immediately to the line containing this statement. All other statements are available for editing as well. If no statement is specified, the Editor is invoked at the top statement in the stack.
To update the stack and return to TCL, use the FI command to file the item and exit the Editor. Use the EX command to exit the Editor without modifying the stack.
See Also
Executing Previous Statements (.X)
Replacing Text in the Stack (.M)
Storing a Series of Statements (.C)