beautypg.com

HP NonStop G-Series User Manual

Page 140

background image

GET Command

EDIT Command Summary

058061 Tandem Computers Incorporated

4–61

incr

is a number from .001 through 10.

SAME

tells the EDIT program not to renumber lines from

filename1

when

they are added to the current file. (See “Adding All or Part of an EDIT
File to the Current File,” following.)

KEEP

tells the EDIT program to retain the lines in the current file that have
the same line numbers as those in

filename1

. If you omit KEEP, the

EDIT program replaces lines in the current file. (See “Adding All or
Part of an EDIT File to the Current File,” following.)

Examples

Making an EDIT File the Current File for Editing

1.

The command:

*GET POEMS

CURRENT FILE IS $WORK.FICTION.POEMS

*

closes the current file, if any, and makes the existing EDIT file named
POEMS the current file.

2.

The following command closes the current EDIT file, creates a new
EDIT file named PARTY, and makes PARTY the current file:

*GET PARTY

$WORK.FICTION.PARTY DOES NOT EXIST. SHALL I CREATE IT? y

CURRENT FILE IS $WORK.FICTION.PARTY

*

This manual is related to the following products: