Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/sh sh.1: fix typos



details:   https://anonhg.NetBSD.org/src/rev/017e67d0c87b
branches:  trunk
changeset: 1026301:017e67d0c87b
user:      rillig <rillig%NetBSD.org@localhost>
date:      Tue Nov 16 23:39:34 2021 +0000

description:
sh.1: fix typos

diffstat:

 bin/sh/sh.1 |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (50 lines):

diff -r d41d5a1d8030 -r 017e67d0c87b bin/sh/sh.1
--- a/bin/sh/sh.1       Tue Nov 16 23:23:02 2021 +0000
+++ b/bin/sh/sh.1       Tue Nov 16 23:39:34 2021 +0000
@@ -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 @@
 .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 @@
 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 @@
 .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 @@
 .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



Home | Main Index | Thread Index | Old Index