mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 11:42:21 +00:00
sh.1: rm Solaris-specific SHOPT_PFSH info (re: f089d799
)
The -P option only ever worked on Solaris so it's questionable it should have been in the general-purpose manual to begin with. And now it doesn't even work on Solaris as it disable SHOPT_PFSH with a patch (that functionality is now provided by a wrapper that works with all shells). So it's long past time to stop documenting it. For the same reason, this also removes the info about invoking ksh as pfksh, etc. -- this is still possible on Solaris with the new method, but the functionality is no longer actually provided by ksh. If the Solaris maintainers want it back in the man page, that should be done by adding a patch to their build system.
This commit is contained in:
parent
e73696fd87
commit
ac8e702ef2
1 changed files with 10 additions and 43 deletions
|
@ -20,13 +20,13 @@
|
||||||
.\}
|
.\}
|
||||||
.SH NAME
|
.SH NAME
|
||||||
.if \nZ=0 \{\
|
.if \nZ=0 \{\
|
||||||
sh, rsh, pfsh \- shell, the standard/restricted command and programming language
|
sh, rsh \- shell, the standard/restricted command and programming language
|
||||||
.\}
|
.\}
|
||||||
.if \nZ=1 \{\
|
.if \nZ=1 \{\
|
||||||
ksh, rksh, pfksh \- KornShell, a standard/restricted command and programming language
|
ksh, rksh \- KornShell, a standard/restricted command and programming language
|
||||||
.\}
|
.\}
|
||||||
.if \nZ=2 \{\
|
.if \nZ=2 \{\
|
||||||
ksh93, rksh93, pfksh93 \- KornShell, a standard/restricted command and programming language
|
ksh93, rksh93 \- KornShell, a standard/restricted command and programming language
|
||||||
.\}
|
.\}
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.if \nZ=0 \{\
|
.if \nZ=0 \{\
|
||||||
|
@ -39,7 +39,7 @@ ksh93, rksh93, pfksh93 \- KornShell, a standard/restricted command and programmi
|
||||||
.B ksh93
|
.B ksh93
|
||||||
.\}
|
.\}
|
||||||
[
|
[
|
||||||
.B \(+-abcefhiklmnoprstuvxBCDEGHP
|
.B \(+-abcefhiklmnoprstuvxBCDEGH
|
||||||
] [
|
] [
|
||||||
.B \(+-o
|
.B \(+-o
|
||||||
option ] .\|.\|. [
|
option ] .\|.\|. [
|
||||||
|
@ -80,18 +80,6 @@ command interpreter
|
||||||
.if \nZ=2 .IR ksh93 ;
|
.if \nZ=2 .IR ksh93 ;
|
||||||
it is used to set up login names and execution environments whose
|
it is used to set up login names and execution environments whose
|
||||||
capabilities are more controlled than those of the standard shell.
|
capabilities are more controlled than those of the standard shell.
|
||||||
.if \nZ=0 .I Rpfsh\^
|
|
||||||
.if \nZ=1 .I Rpfksh\^
|
|
||||||
.if \nZ=2 .I Rpfksh93\^
|
|
||||||
is a profile shell version of the
|
|
||||||
.if \nZ=0 standard
|
|
||||||
command interpreter
|
|
||||||
.if \nZ=0 .IR sh ;
|
|
||||||
.if \nZ=1 .IR ksh ;
|
|
||||||
.if \nZ=2 .IR ksh93 ;
|
|
||||||
it is used to execute commands with the attributes specified by
|
|
||||||
the user's profiles (see
|
|
||||||
.IR pfexec (1)).
|
|
||||||
See
|
See
|
||||||
.I Invocation\^
|
.I Invocation\^
|
||||||
below
|
below
|
||||||
|
@ -2148,12 +2136,6 @@ At invocation, if the basename of this variable is
|
||||||
or
|
or
|
||||||
.BR krsh ,
|
.BR krsh ,
|
||||||
then the shell becomes restricted.
|
then the shell becomes restricted.
|
||||||
If it is
|
|
||||||
.BR pfsh
|
|
||||||
or
|
|
||||||
.BR pfksh ,
|
|
||||||
then the shell becomes a profile shell (see
|
|
||||||
.IR pfexec (1)).
|
|
||||||
.TP
|
.TP
|
||||||
.SM
|
.SM
|
||||||
.B TIMEFORMAT
|
.B TIMEFORMAT
|
||||||
|
@ -6901,7 +6883,7 @@ is not unset first.
|
||||||
.TP 8
|
.TP 8
|
||||||
.B \-B
|
.B \-B
|
||||||
Enable brace group expansion. On by default, except
|
Enable brace group expansion. On by default, except
|
||||||
if ksh is invoked as \fBsh\fR, \fBrsh\fR, or \fBpfsh\fR.
|
if ksh is invoked as \fBsh\fR or \fBrsh\fR.
|
||||||
.TP 8
|
.TP 8
|
||||||
.B \-C
|
.B \-C
|
||||||
Prevents redirection
|
Prevents redirection
|
||||||
|
@ -7029,7 +7011,7 @@ The
|
||||||
.B let
|
.B let
|
||||||
command allows octal constants starting with
|
command allows octal constants starting with
|
||||||
.BR 0 .
|
.BR 0 .
|
||||||
On by default if ksh is invoked as \fBsh\fR, \fBrsh\fR, or \fBpfsh\fR.
|
On by default if ksh is invoked as \fBsh\fR or \fBrsh\fR.
|
||||||
.TP 8
|
.TP 8
|
||||||
.B markdirs
|
.B markdirs
|
||||||
All directory names resulting from file name generation have a trailing
|
All directory names resulting from file name generation have a trailing
|
||||||
|
@ -7080,8 +7062,8 @@ 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
|
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
|
done when \fBposix\fR is turned back off. (These options can still be
|
||||||
controlled independently in between.) Furthermore, the \fBposix\fR option
|
controlled independently in between.) Furthermore, the \fBposix\fR option
|
||||||
is automaticaly turned on upon invocation if ksh is invoked as \fBsh\fR,
|
is automaticaly turned on upon invocation if ksh is invoked as \fBsh\fR
|
||||||
\fBrsh\fR, or \fBpfsh\fR. In that case, or if the option is turned on by
|
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
|
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
|
will not set the preset aliases even if interactive, and will not import type
|
||||||
attributes for variables (such as integer or readonly) from the environment.
|
attributes for variables (such as integer or readonly) from the environment.
|
||||||
|
@ -8140,17 +8122,10 @@ is
|
||||||
or
|
or
|
||||||
.BR krsh ,
|
.BR krsh ,
|
||||||
then the shell becomes restricted.
|
then the shell becomes restricted.
|
||||||
If it is
|
|
||||||
.BR pfsh
|
|
||||||
or
|
|
||||||
.BR pfksh ,
|
|
||||||
then the shell becomes a profile shell (see
|
|
||||||
.IR pfexec (1)).
|
|
||||||
If the basename is
|
If the basename is
|
||||||
.BR sh ,
|
.B sh
|
||||||
.BR rsh ,
|
|
||||||
or
|
or
|
||||||
.BR pfsh ,
|
.BR rsh ,
|
||||||
or the
|
or the
|
||||||
.B \-o\ posix
|
.B \-o\ posix
|
||||||
option is given on the invocation command line, then
|
option is given on the invocation command line, then
|
||||||
|
@ -8263,14 +8238,6 @@ In all cases, \s-1QUIT\s+1 is ignored by the shell.
|
||||||
If the
|
If the
|
||||||
.B \-r
|
.B \-r
|
||||||
option is present, the shell is a restricted shell.
|
option is present, the shell is a restricted shell.
|
||||||
.TP
|
|
||||||
.B \-P
|
|
||||||
If
|
|
||||||
.B \-P
|
|
||||||
or
|
|
||||||
.B \-o profile
|
|
||||||
is present, the shell is a profile shell (see
|
|
||||||
.IR pfexec (1)).
|
|
||||||
.PP
|
.PP
|
||||||
The remaining options and arguments are described under the
|
The remaining options and arguments are described under the
|
||||||
.B set
|
.B set
|
||||||
|
|
Loading…
Reference in a new issue