summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/sh/sh.111
1 files changed, 10 insertions, 1 deletions
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1
index 02b674a..6041947 100644
--- a/bin/sh/sh.1
+++ b/bin/sh/sh.1
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)sh.1 8.6 (Berkeley) 5/4/95
-.\" $Id: sh.1,v 1.17 1997/11/12 04:32:50 jdp Exp $
+.\" $Id: sh.1,v 1.18 1998/01/02 19:23:05 steve Exp $
.\"
.Dd May 5, 1995
.Dt SH 1
@@ -974,6 +974,15 @@ etc).
A null command that returns a 0 (true) exit value.
.It \&. file
The commands in the specified file are read and executed by the shell.
+If
+.Ar file
+contains any
+.Ql /
+characters, it is used as is. Otherwise, the shell searches the
+.Ev PATH
+for the file. If it is not found in the
+.Ev PATH ,
+it is sought in the current working directory.
.It alias [ name[=string] ... ]
If name=string is specified, the shell defines the
alias ``name'' with value ``string''. If just ``name''
OpenPOWER on IntegriCloud