HP NonStop G-Series User Manual
Page 172
![background image](/manuals/397048/172/background.png)
PUT Command
EDIT Command Summary
058061 Tandem Computers Incorporated
4–93
!
tells the EDIT program to continue with the PUT operation even
though you have specified the file name of an existing file. If you omit
filename or if you specify the file name of the current file, the ! character
tells the EDIT program to compress the current file to make it more
compact.
line-range-list
references one or more contiguous lines or blocks of text in an EDIT file.
Turn to “Line-Range-List Parameter” in Section 5 for a full explanation
of this range.
string-range
references a character string in one or more lines of an EDIT file. Turn
to “String-Range Parameter” in Section 5 for a full explanation of this
range.
RANGE
is a keyword that tells EDIT to look for the “string” in the indicated
line-range or string-range.
How to Use PUT
If you are copying lines and filename names a new file, EDIT creates an
EDIT file with the new file name and copies the text into the new EDIT file.
If you are copying lines and filename names an existing file, you must
specify the ! char-acter. Then, EDIT purges the existing file, creates a new
EDIT file with this file name, and copies text into this EDIT file.
The PUT command always creates an EDIT-format file and therefore cannot
be used to transfer data to a nondisk device or to non-Tandem systems.
The lines copied to filename retain their original line numbers.