HP NonStop G-Series User Manual
Page 249
![background image](/manuals/397048/249/background.png)
Range-Specifier Parameter
Range Summary
5–46
058061 Tandem Computers Incorporated
4.
The command:
*LIST BOTH "t" COL 5 RANGE FIRST/20 LAST-3/LAST, WORD "pig", "eat"
16 And Tom was beat,
17 And Tom went crying
13 Stole a pig
15 The pig was eat
15 The pig was eat
16 And Tom was beat,
*
Two separate
string-ranges
The keyword COL signifies
a column-range within the
string-range here.
String-range
Line-range-list
Range-specifier
keyword
is performed in this order:
LIST BOTH “t” COL 5 RANGE FIRST/20 LAST-3/LAST
LIST WORD “pig”
LIST “eat”
EDIT first lists the lines from the first line through line number 20 and
the third from the last line through the last line that have the string t or
T in column 1. EDIT then lists all lines that contain the word pig and
finally lists all lines that contain the string eat.