OOPS : MEXPR
OOPS is a top-level command.
Replace the word at a given position in the previous line
with another word. Positions start from 0, and the substituted-for
command will be entered into the command history list, so for example:
<9>HELP GR-FILENAMES
<10>OOPS 0 LIST (calls LIST GR-FILENAMES instead)
<11>OOPS 1 GR-MISC (calls LIST GR-MISC)
The command format for OOPS is:
<n>OOPS POSITION REPLACEMENT
"INTEGER+" "ANYTHING"
The arguments have the following meaning:
POSITION : Number of word to replace (starting from 0)
REPLACEMENT : Replacement
TPS documentation homepage