diff options
| author | tjg <tjg> | 1999-12-10 11:54:46 +0000 |
|---|---|---|
| committer | Toby Goodwin <toby@paccrat.org> | 2015-05-16 21:23:17 +0100 |
| commit | 1b4f262aca1d67fdd1cea8ccbee09c03d23b1ab7 (patch) | |
| tree | 710f5f552ebcfbd295c3e47351f2c9dfc81ba735 /rc.1 | |
| parent | 449420e7e294e11aff835f638481fd7608778bc1 (diff) | |
Documentation: extra parentheses around `~' and `!' expressions are
forbidden. Tom Duff's paper is not distributed with rc, but is
available on the web.
Diffstat (limited to 'rc.1')
| -rw-r--r-- | rc.1 | 23 |
1 files changed, 17 insertions, 6 deletions
@@ -161,7 +161,7 @@ .if !"\\$4"" .Xf \\$2 \\$1 "\\$3\\f\\$1\\$4\\*(Xi" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9" .if "\\$4"" \\$3\fR\s10 .. -.TH RC 1 "1999-11-11" +.TH RC 1 "1999-12-10" .SH NAME rc \- shell .SH SYNOPSIS @@ -1971,6 +1971,17 @@ The command should search .Cr $path . .PP +Extra parentheses around a +.Cr ~ +expression or a +.Cr ! +expression are a syntax error. Thus, this +code is illegal. +.Ds +.Cr "while ((~ $1 -*) && (! ~ $1 --)) { ..." +.De +The redundant inner parentheses must be omitted. +.PP Bug reports should be mailed to .Cr "<tjg@star.le.ac.uk>" . .SH INCOMPATIBILITIES @@ -2049,10 +2060,10 @@ being sourced. .SH "SEE ALSO" ``rc \(em A Shell for Plan 9 and UNIX Systems'', Unix Research System, -10th Edition, -vol. 2. (Saunders College Publishing) -(This paper is also distributed with this -.I rc -in PostScript form.) +Tenth Edition, +Volume 2. (Saunders College Publishing) +.PP +.Cr http://www.star.le.ac.uk/~tjg/rc/misc/td.html , +an updated version of the above paper. .PP .IR history (1) |