beautypg.com

HP NonStop G-Series User Manual

Page 49

background image

The REPLACE Command: Replacing Lines of Text

Revising Text in Your File

3–6

058061 Tandem Computers Incorporated

If you type a double slant (//) in response to the line number prompt, EDIT
asks the following question:

SHALL I DELETE THE REMAINING LINES?

If you type YES (or simply Y), EDIT deletes the current line and any
remaining lines in the range. Any other response leaves the current and
remaining lines unchanged. In either case, the REPLACE command
terminates. For example:

*REPLACE 4/9
4 Says Simple Simon to the pieman:
4 The Knave of Hearts
5 "Pray let me taste your ware."
5 He stole those tarts
6 Says the pieman to Simple Simon:
6 And took them clean away.
7 "Show me first your penny."
7 //
SHALL I DELETE THE REMAINING LINES? y
8 Says Simple Simon to the pieman:
9 "Indeed I have not any."
*LIST ALL
1 The Queen of Hearts
2 She made some tarts
3 All on a summer's day;
4 The Knave of Hearts
5 He stole those tarts
6 And took them clean away.
*

Using the LIST command

to view the results of

your text replacement

This manual is related to the following products: