summaryrefslogtreecommitdiff
path: root/bin/ksh
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2015-03-18 22:18:20 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2015-03-18 22:18:20 +0000
commitfb33b7c7820ae94a25cb051515c847ee3fbc33b2 (patch)
tree35329d8786ce3200cb65fa47c3b4f1a3b55e98ec /bin/ksh
parentd2c9eaa2d24980bc2bd77b2c38022bc734328572 (diff)
remove ambiguity from the COMMANDS section, after discussion with zhuk;
Diffstat (limited to 'bin/ksh')
-rw-r--r--bin/ksh/sh.110
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/ksh/sh.1 b/bin/ksh/sh.1
index f3e9aac3fc7..7c5f68e7abd 100644
--- a/bin/ksh/sh.1
+++ b/bin/ksh/sh.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sh.1,v 1.115 2015/03/18 22:11:21 jmc Exp $
+.\" $OpenBSD: sh.1,v 1.116 2015/03/18 22:18:19 jmc Exp $
.\"
.\" Copyright (c) 2015 Jason McIntyre <jmc@openbsd.org>
.\"
@@ -1592,13 +1592,13 @@ It sets up redirections, if any,
and then expands variable assignments, if any.
It then attempts to run the command.
.Pp
-Next, if the command is a special built-in
+Firstly, if the command is a special built-in
it invokes the built-in.
-If it is a shell function
+If not, but it is a shell function,
it then invokes that.
-If it is a regular built-in
+If not, but it is a regular built-in,
it then invokes that.
-Finally it uses the value of
+Failing that, it uses the value of
.Ev PATH
to search for the command.
If it finds a match which is a regular built-in or function it invokes it.