List Lines command
Purpose: Displays a specified range of lines. The current line remains
unchanged.
Format: [line][,line]L
Remarks: Default values are provided if either one or both of the para-
meters are omitted. If you omit the first parameter, as in:
,lineL
the display starts 11 lines before the current line and ends
with the specified line. The beginning comma is required to
indicate the omitted first parameter.
Note:
If the specified line is more than 11 lines before the cur-
rent line, the display is the same as if you omitted both
parameters.
If you omit the second parameter, as in:
lineL or line,L
a total of 23 lines are displayed, starting with the specified
line.
If you omit both parameters, as in:
L
a total of 23 lines are displayed - the 11 lines before the
current line, the current line, and the 11 lines after the
current line. If there aren't 11 lines before the current
line, then extra lines are displayed after the current line
to make a total of 23 lines.
If the current line is line 15, and you want to display a
range of lines, from 3-18, enter:
3,18L
If you want to display 23 lines of the file, starting with
line 3, enter:
3L
If you want to display 23 lines of the file, centered around
the current line, enter:
L