Range summary, 5–11 2. if the current edit file is, Then – HP NonStop G-Series User Manual
Page 214: If the current edit file is
Line-Range Parameter
Range Summary
058061 Tandem Computers Incorporated
5–11
2.
If the current EDIT file is:
23 Mary had a little lamb,
24 Little lamb,
25 Little lamb.
26 Mary had a little lamb,
27 Whose fleece was white as snow.
then:
*LIST FIRST
23 Mary had a little lamb,
*LIST LAST
27 Whose fleece was white as snow.
*
Lists line 23
Lists line 27
3.
If the current EDIT file is:
.01 Humpty Dumpty
.02 Sat on a wall.
.03 Humpty Dumpty
.04 Had a great fall.
.05 All the king's horsemen
.06 And all the king's men
.07 Couldn't put Humpty
.08 Together again.
then:
*LIST .05
0.05 All the king's horsemen
*LIST *
0.05 All the king's horsemen
*LIST * + 2
0.07 Couldn't put Humpty
*LIST .07 - 5
0.02 Sat on a wall.
*LIST * + 10
0.08 Together again.
*
Lists the current
line (.05)
Lists line .05
Lists the fifth line
before line .07
Lists the second line
after the current line
Lists the last line (too few
lines exist to list the tenth
line after the current line.)