rc: add subscript sequences (Erik Quanstrom)

This commit is contained in:
Russ Cox 2008-07-20 04:15:41 -04:00
parent 78a779a383
commit 94e1f2a438
2 changed files with 40 additions and 5 deletions

View file

@ -208,6 +208,11 @@ If
is followed by a parenthesized list of subscripts, the
value substituted is a list composed of the requested elements (origin 1).
The parenthesis must follow the variable name with no spaces.
Subscripts can also take the form
.IB m - n
or
.IB m -
to indicate a sequence of elements.
Assignments to variables are described below.
.HP
.BI $# argument