Editor Help

ranges

Most editor commands act upon a particular range of lines.

Essentially, one needs to specify a first line and a last line.

Line numbers may be given in any of the following forms

n (i.e., the nth line of text)

n^ n-th line after/below the current insertion point

n_ n-th line before/above the current insertion point

n$ n-th line before the end.

In the latter three, n defaults to 1, so that `^' by itself refers to the line below the current (i.e., the line that gets `^' printed before it), and likewise for `_' while `$' refers to the last line. Note that the usage depends on whether you are specifying a line or an insertion point (space between lines). `^5' is the space above/before line 5, while `5^' is the fifth line after/below the current insertion point.

Ranges of lines may be specified in any of the

following ways:

just that line

from to what it says; the following two forms are equivalent:

-

With the `from l to l' form, either the from or the to can be left off and it will default to whatever is usual for that command (usually a line above or below the insertion point). Actually I was thinking of punting the `from'/`to' specifications entirely because they're so verbose. Opinions?