HP NonStop G-Series User Manual
Page 171
![background image](/manuals/397048/171/background.png)
PUT Command
EDIT Command Summary
4–92
058061 Tandem Computers Incorporated
PUT Command
You can use the PUT command for two main purposes:
Making the current file more compact.
Copying all or a portion of the current file into a new EDIT-format file
(keeping the same current file)
What to Enter
The syntax of the PUT command to make the current file more compact is:
PUT !
The syntax of the PUT command for copying all or a portion of the current
file into a new EDIT-format file is:
PUT
filename [!] [ line-range-list | string-range ]
[ RANGE { line-range-list | string-range } ]
filename
is the name of a fully or partially qualified file. If you are copying lines
and
filename
names an existing file, you must specify the ! character.
Specifying
filename
is required if you do not use the ! character. You
may omit
filename
only when you are compressing the current file;
otherwise, EDIT needs to know which
filename
to compress. (For
more information on file names, see “How EDIT Files Are Named” in
Section 6.)