beautypg.com

HP NonStop G-Series User Manual

Page 53

background image

Typing Several Subcommands on an Editing Line

Revising Text in Your File

3–10

058061 Tandem Computers Incorporated

Typing Several

Subcommands on an

Editing Line

If you have more than one correction to make to a text line, you can put
more than one subcommand on an editing line. EDIT considers the first
nonblank character on the editing line to be the beginning of a
subcommand (if the character is an R, I, or D) or the beginning of a
replacement string. EDIT also considers the first nonblank character that
follows a double slash to be the beginning of a subcommand. Therefore,
you can type several subcommands on one editing line by:

Terminating an R or I subcommand with the double slash and then
giving another subcommand or replacement string.

Terminating a replacement string with the double slash and then giving
another replacement string or a subcommand.

Following the D subcommand with a replacement string or with
another subcommand. You do not have to terminate the D
subcommand with the double slash. EDIT treats the first character after
a D subcommand as the beginning of another subcommand.

For more information and examples of typing several subcommands on an
editing line, see Section 4, “FIX Command.”

Terminating the FIX

Command

You can terminate a FIX command before you’ve edited all the lines in a
range by typing the double slash in columns 1 and 2 of the editing line and
pressing

RETURN

The double slash causes EDIT to ignore any corrections

you made to the current line you are editing and returns you to the EDIT
prompt (*).

This manual is related to the following products: