beautypg.com

Revising text in your file – HP NonStop G-Series User Manual

Page 52

background image

Typing Several Subcommands on an Editing Line

Revising Text in Your File

058061 Tandem Computers Incorporated

3–9

R (for replace), followed by a replacement string, replaces characters in
the text line on a one-for-one basis with the characters in the
replacement string on the editing line. Replacement begins with the
character above the R subcommand. To replace a word, type:

*FIX 3

3 He yelled for his pipe, and he called for his bowl,

.......... rcalled

3 He called for his pipe, and he called for his bowl,

..........(RETURN)

*

EDIT considers any string of characters on the editing line that does not
begin with the subcommand D, I, or R to be a replacement string. EDIT
replaces the characters in the line of text (excepting the double slash) on a
one-for-one basis. For example:

*FIX 4

4 And he shouted at his jugglers seven.

.......... called for his fiddlers three.

4 And he called for his fiddlers three.

..........(RETURN)

*

If you want to insert or replace a string of characters that begins with D, I,
or R, you must use the relevant subcommand. Otherwise, EDIT mistakes
the D, I, or R as a subcommand and acts accordingly on the rest of the
string.

This manual is related to the following products: