HP NonStop G-Series User Manual
Page 169
OBEY Command
EDIT Command Summary
4–90
058061 Tandem Computers Incorporated
2.
If the command file named INDEX contains the following lines:
1 * all drafting personnel should
2 * execute this command on the
3 * first Monday of every month
4 GET BIGMESS!
5 ADD
6 abcdefghijklmnopqrstuvwxyz
7 abcdefghijklmnopqrstuvwxyz
8 abcdefghijklmnopqrstuvwxyz
9 //
10 GET TEMP1 TO LAST
11 GET TEMP2 TO LAST
12 CHANGE QUIET 121:125 "CMIOP" ALL
13 LIST UNSEQ OUT $LP ALL
14 EXIT
These lines beginning with
asterisks are comment lines.
Double slants indicate
the end of the text.
Command lines
Text of
INDEX file
Command
lines
the command line:
26> EDIT; OBEY INDEX
Creates BIGMESS and makes it the current EDIT file
Adds three lines of text to line number 0 of BIGMESS
Copies the contents of TEMP1 to the end of BIGMESS
Copies the contents of TEMP2 to the end of BIGMESS
Modifies every line in BIGMESS so that it contains the characters
CMIOP in columns 121 through 125
Lists the entire contents of BIGMESS without line numbers on the
printer named $LP
Exits EDIT