diff --git a/src/cmd/ksh93/data/builtins.c b/src/cmd/ksh93/data/builtins.c index bc4571045..9fece3acb 100644 --- a/src/cmd/ksh93/data/builtins.c +++ b/src/cmd/ksh93/data/builtins.c @@ -682,7 +682,7 @@ const char sh_optgetopts[] = "argument, \bgetopts\b places the option argument in the shell " "variable \bOPTARG\b. Otherwise \bOPTARG\b is set to \b1\b when the " "option is set and \b0\b when the option is unset.]" -"[+?The \aoptstring\a string consists of alpha-numeric characters, " +"[+?The \aoptstring\a string consists of alphanumeric characters, " "the special characters +, -, ?, :, and , or character groups " "enclosed in [...]]. Character groups may be nested in {...}. " "Outside of a [...]] group, a single new-line followed by zero or " diff --git a/src/cmd/ksh93/sh.1 b/src/cmd/ksh93/sh.1 index f5bd3aa2f..9e6e97abf 100644 --- a/src/cmd/ksh93/sh.1 +++ b/src/cmd/ksh93/sh.1 @@ -2615,7 +2615,7 @@ represents the beginning and ending characters of a nested group that will be skipped over when counting starting and ending character matches. The behavior is unspecified when the first character of a .I pattern-pair\^ -is alpha-numeric +is alphanumeric except for the following: .PD 0 .RS @@ -5111,7 +5111,7 @@ Cursor forward (right) one character. (Right arrow) Same as \f3l\fP. .TP 10 [\f2count\fP]\f3w\fP -Cursor forward one alpha-numeric word. +Cursor forward one alphanumeric word. .TP 10 [\f2count\fP]\f3W\fP Cursor to the beginning of the next word that follows a blank. @@ -7121,7 +7121,7 @@ shells. At the moment that the \fBposix\fR option is turned on, it also turns on \fBletoctal\fR and turns off \fB\-B\fR/\fBbraceexpand\fR; the reverse is done when \fBposix\fR is turned back off. (These options can still be controlled independently in between.) Furthermore, the \fBposix\fR option -is automaticaly turned on upon invocation if ksh is invoked as \fBsh\fR +is automatically turned on upon invocation if ksh is invoked as \fBsh\fR or \fBrsh\fR. In that case, or if the option is turned on by specifying \fB-o posix\fR on the invocation command line, the invoked shell will not set the preset aliases even if interactive, and will not import type diff --git a/src/cmd/ksh93/sh.memo b/src/cmd/ksh93/sh.memo index f71234f34..455e97965 100644 --- a/src/cmd/ksh93/sh.memo +++ b/src/cmd/ksh93/sh.memo @@ -1222,7 +1222,7 @@ The third type of parameter is a variable. As mentioned earlier, \f5ksh\fP uses variables whose names consist of one or more -alpha-numeric strings separated by a \fB\s+2.\s-2\fP. +alphanumeric strings separated by a \fB\s+2.\s-2\fP. There is no need to specify the .I type of a variable in the shell because, by default, @@ -1872,7 +1872,7 @@ Similarly, \f5[:\fP\fIclass\fP\f5:]\fP matches each of the characters in the given \fIclass\fP for all the ANSI-C character classes. For example, \f5[[:alnum:]_]\fP -matches any alpha-numeric character or the character +matches any alphanumeric character or the character .BR _ . .P \f5ksh\fP diff --git a/src/cmd/ksh93/tests/io.sh b/src/cmd/ksh93/tests/io.sh index 6fb5b42cf..26554c091 100755 --- a/src/cmd/ksh93/tests/io.sh +++ b/src/cmd/ksh93/tests/io.sh @@ -577,7 +577,7 @@ if [[ -s "$tmp/fdleak.txt" ]] then exec 3>&- err_exit "Open file descriptor leaks out of subshell" fi -# However, it should still survive a shared-state command sustitution if it's not 1 (stdout). +# However, it should still survive a shared-state command substitution if it's not 1 (stdout). redirect 3>&- # close FD 3 just in case : ${ redirect 3>"$tmp/fdshared.txt"; } { echo good >&3; } 2>/dev/null