HP NonStop G-Series User Manual
Page 141
![background image](/manuals/397048/141/background.png)
GET Command
EDIT Command Summary
4–62
058061 Tandem Computers Incorporated
Using an Existing File to Create a New Current File
1.
The command:
*GET AESOP PUT FABLE
CURRENT FILE IS $WORK.FICTION.FABLE
*
copies the entire contents of the file AESOP into the file FABLE and
makes FABLE the current EDIT file. 2.
The command:
*GET SHAKE 10/250 PUT ROMEO
CURRENT FILE IS $WORK.FICTION.ROMEO
*
copies lines 10 through 250 of the file SHAKE into the file ROMEO and
makes ROMEO the current EDIT file.
3.
The following GET command copies the first line, the tenth through the
twentieth lines, and the last line of SHAKE into HAMLET and makes
HAMLET the current EDIT file:
*GET SHAKE NUM FIRST 10/20 LAST PUT HAMLET
CURRENT FILE IS $WORK.FICTION.HAMLET
*
This manual is related to the following products: