HP NonStop G-Series User Manual
Page 247
![background image](/manuals/397048/247/background.png)
Range-Specifier Parameter
Range Summary
5–44
058061 Tandem Computers Incorporated
1.
The command:
*LIST "Tom", "And", "as" FIRST/18 25
11 Tom, Tom
16 And Tom was beat,
17 And Tom went crying
19 Tom, Tom
14 And away he run.
16 And Tom was beat,
17 And Tom went crying
26 And far away."
15 The pig was eat
16 And Tom was beat,
25 Was "Over the hills
*
String-range qualified
by line-range-list
String-range
String-range
is performed in this order:
LIST “Tom”
LIST “And”
LIST “as” FIRST/18 25
EDIT first lists all the lines that contain the strings Tom and And, then
lists all the lines that contain the string as which fall within the specified
line-range.
As EDIT works sequentially through the options of the range-specifier
parameter, satisfying the first one then moving on to the next one, the
results of a command might cause lines to appear more than once (as is,
for example, the case here).
Compare the results of this command with the results of Example 2.