summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/ksh/sh.18
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/ksh/sh.1 b/bin/ksh/sh.1
index a3031107c75..8324c4e3cf4 100644
--- a/bin/ksh/sh.1
+++ b/bin/ksh/sh.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sh.1,v 1.123 2015/03/26 20:10:22 jmc Exp $
+.\" $OpenBSD: sh.1,v 1.124 2015/03/27 14:22:59 jmc Exp $
.\"
.\" Copyright (c) 2015 Jason McIntyre <jmc@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: March 26 2015 $
+.Dd $Mdocdate: March 27 2015 $
.Dt SH 1
.Os
.Sh NAME
@@ -1884,14 +1884,14 @@ block
or otherwise the exit status of the last command executed.
.Pp
Functions allow the user to define a group of commands,
-executed whenever the function name is invoked.
+executed whenever the function is invoked.
Its format is:
.Bd -unfilled -offset indent
.Ar function Ns () Ar command-list
.Ed
.Pp
The above simply defines a function;
-nothing is executed until the function name is invoked.
+nothing is executed until the function is invoked.
Commands may specify redirections
and positional parameters are changed,
for the duration of the function,