1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

-o posix: minor manpage/usage tweaks (re: 921bbcae)

This commit is contained in:
Martijn Dekker 2020-09-05 06:21:32 +02:00
parent 3ede73aa33
commit ca9de42d59
2 changed files with 3 additions and 3 deletions

View file

@ -241,7 +241,7 @@ const char sh_set[] =
"of the pipeline will be the value of the last " "of the pipeline will be the value of the last "
"command to exit with non-zero exit status, or will " "command to exit with non-zero exit status, or will "
"be zero if all commands return zero exit status.]" "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.]" "[+privileged?Equivalent to \b-p\b.]"
"[+rc?Do not run the \b.kshrc\b file for interactive shells.]" "[+rc?Do not run the \b.kshrc\b file for interactive shells.]"
"[+showme?Simple commands preceded by a \b;\b will be traced " "[+showme?Simple commands preceded by a \b;\b will be traced "

View file

@ -3602,7 +3602,7 @@ the file descriptor number in variable
.PP .PP
A special shorthand redirection operator \fB&>\fR\fIword\fR is available; it 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 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. option is active.
.PP .PP
The order in which redirections are specified is significant. 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. to fail or zero if no command has failed.
.TP 8 .TP 8
.B posix .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 is on by default if ksh is invoked as \fBsh\fR. It
causes file descriptors > 2 to be left open when invoking another program, causes file descriptors > 2 to be left open when invoking another program,
makes the \fB<>\fR redirection operator default to standard input, makes the \fB<>\fR redirection operator default to standard input,