summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortjg <tjg>1999-10-14 15:50:15 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:23:17 +0100
commite8120f8f2372162fa02ccb7120758aaade587b5e (patch)
tree0a414463120bc130c974e4cf6368201fe8f27fa8
parentd20276b6f2f37e349a8929b4e60a6111da19de35 (diff)
Documentation: failing to search $path for a `.' command is at least
an incompatibility with Tenth Edition rc, and probably a bug.
-rw-r--r--AUTHORS8
-rw-r--r--ChangeLog4
-rw-r--r--rc.126
3 files changed, 29 insertions, 9 deletions
diff --git a/AUTHORS b/AUTHORS
index d007801..b8d18e0 100644
--- 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
index a650fe4..91de987 100644
--- 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
index 516dd66..b872031 100644
--- 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