rc

[fork] interactive rc shell
Log | Files | Refs | README | LICENSE

commit c41799d1273a8483f9aa87c9a0261e1538e38ddf
parent c6be87833c6ccfe55c11e868b11052a1c4be515a
Author: tjg <tjg>
Date:   Wed, 27 Jan 1999 11:43:37 +0000

  Documentation: default path was out of date; minor consistency
  improvements.

Diffstat:
Mrc.1 | 21++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)

diff --git a/rc.1 b/rc.1 @@ -1256,7 +1256,7 @@ is not set at startup time, .Cr $path assumes a default value suitable for your system. This is typically -.Cr "(/usr/ucb /usr/bin /bin .)" +.Cr "(/usr/local/bin /usr/bin /usr/ucb /bin .)" .TP .Cr pid The process ID of the currently running @@ -1864,15 +1864,18 @@ 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 treatment of -.Cr if - else -is different in the v10 -.IR rc : -that version uses an -.Cr "if not" -clause which gets executed +The v10 +.I rc +does not have the +.B else +keyword. Instead, +.B if +is optionally followed by +an +.B "if not" +clause which is executed if the preceding -.Cr if +.B if test does not succeed. .PP Backquotes are slightly different in v10