Skip to content

Commit

Permalink
-o posix: minor manpage/usage tweaks (re: 921bbca)
Browse files Browse the repository at this point in the history
  • Loading branch information
McDutchie committed Sep 5, 2020
1 parent 3ede73a commit ca9de42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/cmd/ksh93/data/builtins.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down
4 changes: 2 additions & 2 deletions src/cmd/ksh93/sh.1
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit ca9de42

Please sign in to comment.