Range summary 5–16, If the current file is, Then – HP NonStop G-Series User Manual
Page 219
![background image](/manuals/397048/219/background.png)
Line-Range-List Parameter
Range Summary
5–16
058061 Tandem Computers Incorporated
2.
If the current file is:
11 Tom, Tom
12 The piper's son
13 Stole a pig
14 And away he run
15 The pig was eat
16 And Tom was beat,
17 And Tom went crying
18 Down the street.
19 Tom, Tom
20 The piper's son
21 He learned to play
22 When he was young;
23 But all the tunes
24 That he could play
25 Was "Over the hills
26 And far away."
then:
*LIST 16/17 12 LAST-1/LAST
16 And Tom was beat,
17 And Tom went crying
12 The piper's son
25 Was "Over the hills
26 And far away."
*
lists lines 16, 17, 12, 25, and 26.
Notice that the LIST command lists the lines in the order in which you
specified them. Line number 26 is now the current line.
3.
If the current file is the same file as in the preceding example
(Example 2), and if 26 is the current line, the following command
results in an error message:
*LIST *-10 *-4/*-5 *-13
|Lo -- ERROR --
ALL RANGES MUST BE GIVEN AS LOWER/HIGHER