Module Name: src Committed By: rillig Date: Tue Nov 16 23:39:34 UTC 2021
Modified Files: src/bin/sh: sh.1 Log Message: sh.1: fix typos To generate a diff of this commit: cvs rdiff -u -r1.237 -r1.238 src/bin/sh/sh.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/bin/sh/sh.1 diff -u src/bin/sh/sh.1:1.237 src/bin/sh/sh.1:1.238 --- src/bin/sh/sh.1:1.237 Tue Nov 16 11:28:29 2021 +++ src/bin/sh/sh.1 Tue Nov 16 23:39:34 2021 @@ -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