aboutsummaryrefslogtreecommitdiff
path: root/man/man1
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2008-07-20 04:15:41 -0400
committerRuss Cox <rsc@swtch.com>2008-07-20 04:15:41 -0400
commit94e1f2a4388f674331b2a2f988fb815133d2ab6b (patch)
tree29e64248846fdaf194cd98b3fef90bd8ef86c1a8 /man/man1
parent78a779a3834cf39d7c0bcd93a15824b29df947a3 (diff)
downloadplan9port-94e1f2a4388f674331b2a2f988fb815133d2ab6b.tar.gz
plan9port-94e1f2a4388f674331b2a2f988fb815133d2ab6b.tar.bz2
plan9port-94e1f2a4388f674331b2a2f988fb815133d2ab6b.zip
rc: add subscript sequences (Erik Quanstrom)
Diffstat (limited to 'man/man1')
-rw-r--r--man/man1/rc.15
1 files changed, 5 insertions, 0 deletions
diff --git a/man/man1/rc.1 b/man/man1/rc.1
index e35d6258..3f9eb056 100644
--- a/man/man1/rc.1
+++ b/man/man1/rc.1
@@ -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