HP NonStop G-Series User Manual
Page 196

TEDIT Command
EDIT Command Summary
058061 Tandem Computers Incorporated
4–117
Examples
The following examples illustrate how you can use the TEDIT command.
1.
The command:
*TEDIT MYFILE !
tells EDIT to start TEDIT for editing the file named MYFILE. The !
character tells TEDIT to create the file without prompting you if
MYFILE doesn’t already exist.
2.
The command:
*PUT DUPFILE !; TEDIT; DISPLAY 55
copies the current file into a new file named DUPFILE, starts TEDIT on
the current file (since no file name was specified), and locates you on
line 55 of DUPFILE, now the current file, where you can begin editing
with TEDIT.
Tips
EDIT could have trouble starting TEDIT for several reasons. If you
receive a message in response to your TEDIT command, refer to
Appendix A, “EDIT Error Messages,” for additional information.
For complete information regarding the TEDIT editing program, see the
PS TEXT EDIT Reference Manual or the PS TEXT EDIT and PS TEXT
FORMAT User’s Guide.