diff --git a/src/cmd/ksh93/data/builtins.c b/src/cmd/ksh93/data/builtins.c index c39e363f5..71e8555ad 100644 --- a/src/cmd/ksh93/data/builtins.c +++ b/src/cmd/ksh93/data/builtins.c @@ -241,7 +241,7 @@ const char sh_set[] = "of the pipeline will be the value of the last " "command to exit with non-zero exit status, or will " "be zero if all commands return zero exit status.]" - "[+posix?Enable POSIX standard compatibility mode.]" + "[+posix?Enable full POSIX standard compliance mode.]" "[+privileged?Equivalent to \b-p\b.]" "[+rc?Do not run the \b.kshrc\b file for interactive shells.]" "[+showme?Simple commands preceded by a \b;\b will be traced " diff --git a/src/cmd/ksh93/sh.1 b/src/cmd/ksh93/sh.1 index 6ec8a99ec..30993cb24 100644 --- a/src/cmd/ksh93/sh.1 +++ b/src/cmd/ksh93/sh.1 @@ -3602,7 +3602,7 @@ the file descriptor number in variable .PP A special shorthand redirection operator \fB&>\fR\fIword\fR is available; it is equivalent to \fB>\fR\fIword\fR\fB 2>&1\fR. It cannot be preceded by any -digit or variable name. This shorthand is disabled if the \fIposix\fR shell +digit or variable name. This shorthand is disabled if the \fBposix\fR shell option is active. .PP The order in which redirections are specified is significant. @@ -7038,7 +7038,7 @@ will be the value of the last non-zero command to fail or zero if no command has failed. .TP 8 .B posix -Enable POSIX standard compatibility mode. This option +Enable full POSIX standard compliance mode. This option is on by default if ksh is invoked as \fBsh\fR. It causes file descriptors > 2 to be left open when invoking another program, makes the \fB<>\fR redirection operator default to standard input,