commit e8120f8f2372162fa02ccb7120758aaade587b5e
parent d20276b6f2f37e349a8929b4e60a6111da19de35
Author: tjg <tjg>
Date: Thu, 14 Oct 1999 15:50:15 +0000
Documentation: failing to search $path for a `.' command is at least
an incompatibility with Tenth Edition rc, and probably a bug.
Diffstat:
3 files changed, 29 insertions(+), 10 deletions(-)
diff --git a/AUTHORS b/AUTHORS
@@ -30,7 +30,7 @@ Tim would like to thank these people for their contributions since he
took over maintenance of rc. Aharon Robbins, Arvid Requate, Bengt
Kleberg, Brynjulv Hauksson, Byron Rakitzis, Chris Siebenmann, Dale
Scheetz, David Luyer, David Swasey, Donn Cave, Gerry Tomlinson, Gert-Jan
-Vons, Ian Lance Taylor, Jeremy Fitzhardinge, Marc Moorcroft, Mark K
-Gardner, Raymond Venneker, Rich $alz, Rob Savoye, Scott Schwartz, Stefan
-Dalibor, Steve Simon, Tom Culliton, Tom Tromey, Vincent Broman, Wolfgang
-Zekoll.
+Vons, Ian Lance Taylor, Jeremy Fitzhardinge, Marc Moorcroft, Mark H
+Wilkinson, Mark K Gardner, Raymond Venneker, Rich $alz, Rob Savoye,
+Scott Schwartz, Stefan Dalibor, Steve Simon, Tom Culliton, Tom Tromey,
+Vincent Broman, Wolfgang Zekoll.
diff --git a/ChangeLog b/ChangeLog
@@ -638,4 +638,6 @@ Changes since rc-1.5b2
don't export `path'.
Portability: add /usr/bsd to default default path.
-
-\ No newline at end of file
+
+ Documentation: failing to search $path for a `.' command is at least
+ an incompatibility with Tenth Edition rc, and probably a bug.
diff --git a/rc.1 b/rc.1
@@ -1958,14 +1958,19 @@ and
.Cr $path
are set,
.I rc
-believes the former. Arguably this is a bug, since although
+believes the former. Arguably this is a bug:
.I rc
can quite happily deal with path elements that contain
.Cr : ,
-such elements will be split at the colon in descendant
+but such elements will be split at the colon in descendant
.I rc
processes.
.PP
+The
+.Cr .
+command should search
+.Cr $path .
+.PP
Bug reports should be mailed to
.Cr "<tjg@star.le.ac.uk>" .
.SH INCOMPATIBILITIES
@@ -1973,7 +1978,7 @@ Here is a list of features which distinguish this incarnation of
.I rc
from the one described in the Bell Labs manual pages:
.PP
-The v10
+The Tenth Edition
.I rc
does not have the
.B else
@@ -1987,12 +1992,25 @@ if the preceding
.B if
test does not succeed.
.PP
-Backquotes are slightly different in v10
+Backquotes are slightly different in Tenth Edition
.IR rc :
a backquote must always be followed by a left-brace.
This restriction is not present for single-word commands in this
.IR rc .
.PP
+For
+.Cr .
+.IR file ,
+the Tenth Edition
+.IR rc
+searches
+.Cr $path
+for
+.IR file .
+This
+.I rc
+does not; this is a bug.
+.PP
The list flattening operator,
.Cr $^foo ,
is spelt