beautypg.com

HP NonStop G-Series User Manual

Page 51

background image

How to Edit With the FIX Command

Revising Text in Your File

3–8

058061 Tandem Computers Incorporated

How to Edit With the

FIX Command

When you give the FIX command with a line or a range of lines, EDIT
displays the single line or the first line of text in the range. EDIT then
prompts you with the FIX prompt (10 periods) and waits for you to edit.
You do your editing after the prompt on the editing line—the line below the
text line. Then, after you type your correction, press

RETURN

. EDIT displays

the revised line of text and again prompts you to edit it. EDIT continues to
display the revised line of text until you press

RETURN

alone at the FIX

prompt. Then, if the range you specified has more than one line in it, EDIT
displays the next line of text. When you finish correcting the last line of the
specified range, EDIT returns you to the EDIT prompt.

Using the Three FIX

Subcommands

The FIX command uses these three subcommands when editing a text line.

D (for delete) deletes the character in the text line that is above the D
subcommand on the editing line. To correct a misspelling, for example,
type:

*FIX 1

1 Old King Cole was a merrry old soul

.......... d

1 Old King Cole was a merry old soul

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

*

I (for insert), followed by an insertion string, inserts the string into the
text line. Insertion begins at the character above the I subcommand. To
insert a word, type:

*FIX 2

2 And a merry soul was he;

.......... iold

2 And a merry old soul was he;

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

*

This manual is related to the following products: