beautypg.com

HP NonStop G-Series User Manual

Page 73

background image

Copying Text to the Beginning or End of Your File

Revising Text in Your File

3–30

058061 Tandem Computers Incorporated

If you do forget the keyword TO and find yourself in a different file, simply
use the GET command with the name of the file you were editing to make
that file the current one again.

For example, suppose you are in the file named BIZMEMO, and you give
the following command, which omits the TO keyword:

*GET CLIENTS

CURRENT FILE IS $WORK.TUTOR.CLIENTS

*

Instead of successfully adding the file CLIENTS to your current file
(BIZMEMO), you’ve made CLIENTS your current file. Use the GET
command to regain BIZMEMO as your current file:

*GET BIZMEMO

CURRENT FILE IS $WORK.TUTOR.BIZMEMO

*

Copying Text to the

Beginning or End of

Your File

You can use the GET command to add text to the very beginning of your
file. Tell EDIT to renumber your current file (to ensure clear line
numbering). Then tell EDIT to copy the text into your file at line .001.

If your current file is MOBY:

*NUMBER ALL

*GET ISHMAEL 55/66 TO .001

LAST NEW LINE IS .012 <- 66

CURRENT FILE IS $WORK.FICTION.MOBY

*

This manual is related to the following products: