Edit User's Guide and Reference Manual
REPLACE Command
EDIT Command Summary
4–102 058061 Tandem Computers Incorporated
Examples: Using the
REPLACE Command
Explicitly
1. Suppose the current file contains these lines:
1 Little Jack Horner
2 Sat in a corner
3 Eating dumplings.
With the following series of commands, you replace the text on line
number 3 and then list the result:
*REPLACE 3
3 Eating dumplings.
3 Eating a Christmas pie.
*LIST 3
3 Eating a Christmas pie.
*
Displays the current
text on line 3, then
prompts for new text
with that line number.