beautypg.com

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

Page 72

background image

Copying All of a File Into Your File

Revising Text in Your File

058061 Tandem Computers Incorporated

3–29

List your current file from line number 12 to the end to see the results of
your GET command:

*LIST 12/LAST

12 Old King Cole

13 The Queen of Hearts

14 Old Mother Hubbard

20 Little Miss Muffett

21 Simple Simon

*

Copying All of a File Into

Your File

You can also copy the entire file of CLIENTS into your current file. To copy
all six lines of CLIENTS into your current file at line 4, type:

*GET CLIENTS TO 4

LAST NEW LINE IS 4.6 <- 6

CURRENT FILE IS $WORK.TUTOR.BIZMEMO

*

Remember that the keyword TO is important here also. Omitting TO and a
line location in this case will cause EDIT to close BIZMEMO and make
CLIENTS your current file.

Use the LIST command to list the lines you just copied. Note that line
number 6 from CLIENTS is now line number 4.6 in BIZMEMO, and
BIZMEMO is still the current file.

*LIST 4/5

4 The Knave of Hearts

4.1 Humpty Dumpty

4.2 Three Men in a Tub

4.3 Little Miss Muffett

4.4 Simple Simon

4.5 Wee Willie Winkie

4.6 Little Boy Blue

5 Peter, Peter, pumpkin eater

*

This manual is related to the following products: