beautypg.com

Edit command summary 4–22 – HP NonStop G-Series User Manual

Page 101

background image

ADD Command

EDIT Command Summary

4–22

058061 Tandem Computers Incorporated

If you invoke the EDIT program without an EDIT file name, issue an
ADD command, and then do not name an EDIT file when the EDIT
program prompts you for one, EDIT creates a temporary EDIT file,
adds text to this temporary file starting at line 1, and numbers each new
line by an increment of 1:

14 EDIT

TEXT EDITOR - T9601B30 - (08MAR87)

*ADD

1 To market, to market

NAME THE NEW FILE:

*ADD

^ - WARNING

THE CURRENT FILE IS TEMPORARY

2 to buy a fat pig,

3 //

*

Note

The GUARDIAN 90 operating system purges temporary EDIT files when the temporary file is
closed. You close a file when the file is no longer the current file or when you exit from EDIT.
If you decide you want to save the text in a temporary EDIT file, use the PUT editor
command to put the text from the temporary file into a new EDIT file. For more information,
see the discussion of the PUT editor command, later in this section.

This manual is related to the following products: