summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2021-11-16 23:39:34 +0000
committerrillig <rillig@NetBSD.org>2021-11-16 23:39:34 +0000
commit4bea43ccc03c0b8200109864d4ce4f0c93e3a0aa (patch)
treef80448e7443bb5698524bdb78a616479ed0a8e95 /bin
parent772be75133d5e459be5238f322d22a2590a86f67 (diff)
sh.1: fix typos
Diffstat (limited to 'bin')
-rw-r--r--bin/sh/sh.112
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1
index ae0ebc776fd..00be5c67ef4 100644
--- a/bin/sh/sh.1
+++ b/bin/sh/sh.1
@@ -1,4 +1,4 @@
-.\" $NetBSD: sh.1,v 1.237 2021/11/16 11:28:29 kre Exp $
+.\" $NetBSD: sh.1,v 1.238 2021/11/16 23:39:34 rillig Exp $
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -2367,7 +2367,7 @@ be built in for efficiency (e.g.
.Xr test 1 ,
etc).
Most built-in commands will exit with status 2 if used incorrectly
-(bad options, excess or insufficient number of args, etc).
+(bad options, excess or insufficient number of arguments, etc).
Otherwise, unless stated differently, the built-in commands exit with status 0,
unless some error occurs, which would be reported to standard error.
.Bl -tag -width 5n -compact
@@ -2570,7 +2570,7 @@ parameter was specified as
Concatenate all the
.Ar string
arguments with intervening spaces.
-Then parse and execute the command resulting.
+Then parse and execute the resulting command.
The exit status from
.Ic eval
is the exit status of the command executed, or 0 if there was none.
@@ -3026,7 +3026,7 @@ The
.Fl s ,
and
.Fl u
-oprions control which entries are printed.
+options control which entries are printed.
With
.Fl f
functions are printed; with
@@ -3113,11 +3113,11 @@ is not found, the
.Ic hash
command will exit with status 1.
.Pp
-To allow a method to premit backwards compatability with the way
+To allow a method to permit backwards compatibility with the way
that the
.Ic hash
command worked before
-.Nx 10
+.Nx 10 ,
if both the
.Fl e
and