diff options
Diffstat (limited to 'usr/src/man')
-rw-r--r-- | usr/src/man/man1/at.1 | 7 | ||||
-rw-r--r-- | usr/src/man/man1/ed.1 | 6 | ||||
-rw-r--r-- | usr/src/man/man1/env.1 | 6 | ||||
-rw-r--r-- | usr/src/man/man1/nice.1 | 6 | ||||
-rw-r--r-- | usr/src/man/man3c/popen.3c | 14 | ||||
-rw-r--r-- | usr/src/man/man3c/system.3c | 3 | ||||
-rw-r--r-- | usr/src/man/man5/standards.5 | 23 |
7 files changed, 5 insertions, 60 deletions
diff --git a/usr/src/man/man1/at.1 b/usr/src/man/man1/at.1 index 088d3d5ab7..0eeb6a2a0e 100644 --- a/usr/src/man/man1/at.1 +++ b/usr/src/man/man1/at.1 @@ -148,12 +148,7 @@ If the \fB-c\fR, \fB-k\fR, or \fB-s\fR options are not specified, the \fBSHELL\fR environment variable by default determines which shell to use. .sp .LP -For \fB/usr/xpg4/bin/at\fR and \fB/usr/xpg4/bin/batch\fR, if \fBSHELL\fR is -unset or \fBNULL\fR, \fB/usr/xpg4/bin/sh\fR is used. -.sp -.LP -For \fBusr/bin/at\fR and \fB/usr/bin/batch\fR, if \fBSHELL\fR is unset or -\fBNULL\fR, \fB/bin/sh\fR is used. +If \fBSHELL\fR is unset or \fBNULL\fR, \fB/usr/bin/sh\fR is used. .sp .LP The following options are supported: diff --git a/usr/src/man/man1/ed.1 b/usr/src/man/man1/ed.1 index 6217a7cd4b..cb22999587 100644 --- a/usr/src/man/man1/ed.1 +++ b/usr/src/man/man1/ed.1 @@ -81,16 +81,10 @@ While \fBed\fR is accepting text, it is said to be in \fIinput mode\fR. In this mode, \fBno\fR commands are recognized; all input is merely collected. Leave input mode by typing a period (\fB\&.\fR) at the beginning of a line, followed immediately by a carriage return. -.SS "/usr/bin/ed" .sp .LP If \fBed\fR executes commands with arguments, it uses the default shell \fB/usr/bin/sh\fR (see \fBsh\fR(1)). -.SS "/usr/xpg4/bin/ed and /usr/xpg6/bin/ed" -.sp -.LP -If \fBed\fR executes commands with arguments, it uses \fB/usr/xpg4/bin/sh\fR -(see \fBksh\fR(1)). .SS "Regular Expressions" .sp .LP diff --git a/usr/src/man/man1/env.1 b/usr/src/man/man1/env.1 index 540586ee45..6294786a5e 100644 --- a/usr/src/man/man1/env.1 +++ b/usr/src/man/man1/env.1 @@ -33,16 +33,10 @@ the modified environment. Optional arguments are passed to \fIutility\fR. If no \fIutility\fR operand is specified, the resulting environment is written to the standard output, with one \fIname\fR\fB=\fR\fIvalue\fR pair per line. -.SS "\fB/usr/bin\fR" .sp .LP If \fBenv\fR executes commands with arguments, it uses the default shell \fB/usr/bin/sh\fR (see \fBsh\fR(1)). -.SS "\fB/usr/xpg4/bin\fR" -.sp -.LP -If \fBenv\fR executes commands with arguments, it uses \fB/usr/xpg4/bin/sh\fR -(see \fBksh\fR(1)). .SH OPTIONS .sp .LP diff --git a/usr/src/man/man1/nice.1 b/usr/src/man/man1/nice.1 index fd5e671e30..9925c592c1 100644 --- a/usr/src/man/man1/nice.1 +++ b/usr/src/man/man1/nice.1 @@ -44,16 +44,10 @@ that supports \fBnice\fR. If the C shell (see \fBcsh\fR(1)) is used, the full path of the command must be specified. Otherwise, the \fBcsh\fR built-in version of \fBnice\fR will be invoked. See \fBcsh Builtin\fR below. -.SS "/usr/bin/nice" .sp .LP If \fBnice\fR executes commands with arguments, it uses the default shell \fB/usr/bin/sh\fR (see \fBsh\fR(1)). -.SS "/usr/xpg4/bin/nice" -.sp -.LP -If \fBnice\fR executes commands with arguments, it uses \fB/usr/xpg4/bin/sh\fR -(see \fBksh\fR(1)). .SS "csh Builtin" .sp .LP diff --git a/usr/src/man/man3c/popen.3c b/usr/src/man/man3c/popen.3c index ade577bfce..ebf8b88262 100644 --- a/usr/src/man/man3c/popen.3c +++ b/usr/src/man/man3c/popen.3c @@ -43,19 +43,11 @@ argument as described in \fBfopen\fR(3C) to enable extended FILE facility. .sp .LP The environment of the executed command will be as if a child process were -created within the \fBpopen()\fR call using \fBfork\fR(2). If the application -is standard-conforming (see \fBstandards\fR(5)), the child is created as if -invoked with the call: +created within the \fBpopen()\fR call using \fBfork\fR(2). The child is +created as if invoked with the call: .sp .LP -\fBexecl("/usr/xpg4/bin/sh", "sh", "\fR\fB-c\fR\fB",\fR\fIcommand\fR, \fB(char -*)0);\fR -.sp -.LP -otherwise, the child is created as if invoked with the call: -.sp -.LP -\fBexecl("/usr/bin/sh", "sh", "\fR\fB-c\fR\fB",\fR\fIcommand\fR, \fB(char +\fBexecl("/usr/bin/sh", "sh", "\fR\fB-c\fR\fB", \fR\fIcommand\fR, \fB(char *)0);\fR .sp .LP diff --git a/usr/src/man/man3c/system.3c b/usr/src/man/man3c/system.3c index 11812da3f8..f6404ba0bf 100644 --- a/usr/src/man/man3c/system.3c +++ b/usr/src/man/man3c/system.3c @@ -31,8 +31,7 @@ the shell in the format specified by \fBwaitpid\fR(3C). .LP If \fIstring\fR is a null pointer, \fBsystem()\fR checks if the shell exists and is executable. If the shell is available, \fBsystem()\fR returns a -non-zero value; otherwise, it returns \fB0\fR. The standard to which the -caller conforms determines which shell is used. See \fBstandards\fR(5). +non-zero value; otherwise, it returns \fB0\fR. .sp .LP The \fBsystem()\fR function sets the \fBSIGINT\fR and \fBSIGQUIT\fR signals to diff --git a/usr/src/man/man5/standards.5 b/usr/src/man/man5/standards.5 index caba3a202d..ddc1c34203 100644 --- a/usr/src/man/man5/standards.5 +++ b/usr/src/man/man5/standards.5 @@ -252,29 +252,6 @@ other directories containing binaries needed by the application .RE .RE -.sp -.LP -When an application uses \fBexeclp()\fR or \fBexecvp()\fR (see \fBexec\fR(2)) -to execute a shell file, or uses \fBsystem\fR(3C), the shell used to interpret -the shell file depends on the standard to which the caller conforms: -.sp - -.sp -.TS -tab(); -cw(4.33i) cw(1.17i) -lw(4.33i) lw(1.17i) -. -StandardShell Used -_ -T{ -1989 ANSI C, 1990 ISO C, 1999 ISO C, POSIX.1 (1990-2001), SUS, SUSv2, SUSv3, XPG4 -T}\fB/usr/xpg4/bin/sh\fR -T{ -POSIX.1 (1988), SVID3, XPG3, no standard specified -T}\fB/usr/bin/sh\fR -.TE - .SS "Feature Test Macros" .sp .LP |