Edit command summary 4–56, Returns the error message – HP NonStop G-Series User Manual

Page 135

Advertising
background image

FIX Command

EDIT Command Summary

4–56

058061 Tandem Computers Incorporated

Fixing an Editor Command

You use the FIX COMMAND command to alter the last editor command
line. You will find the FIX COMMAND form useful when you enter a long
string of commands and one of them fails due to a typographical error. For
example, the commands:

20 FILES

$SYSTEM.USER

MYPOEM OLDPOEM

21 EDIT OLDPOEM

TEXT EDITOR - T9601B30 - (08MAR87)

CURRENT FILE IS $SYSTEM.USER.OLDPOEM

*GET MYPOM 1/10 TO LAST;LIST LAST-10/LAST

returns the error message:

??:011

FILE $SYSTEM.USER.MYPOM CANNOT BE OPENED

because EDIT cannot find a file named MYPOM.

The following command prints the most recent editor command line and
waits for you to edit it:

*FIX COMMAND

(COMMAND) GET MYPOM 1/10 TO LAST;LIST LAST-10/LAST

..........

Advertising
This manual is related to the following products: