summaryrefslogtreecommitdiff
path: root/bin/sh
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>1998-02-12 01:23:11 +0000
committerJohn Polstra <jdp@FreeBSD.org>1998-02-12 01:23:11 +0000
commit6466945a673307ae4e1580816828d43f9f196a07 (patch)
tree8f1f697423e112059fbc10db78325c8840692fcc /bin/sh
parentce78a1f6ddf1f786825373e44834c67e004293b7 (diff)
downloadsrc-test2-6466945a673307ae4e1580816828d43f9f196a07.tar.gz
src-test2-6466945a673307ae4e1580816828d43f9f196a07.zip
Notes
Diffstat (limited to 'bin/sh')
-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 02b674a7cdc6..6041947dcd29 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''