From 6c68b53170f376450eb7613d6abbd027d104ea15 Mon Sep 17 00:00:00 2001 From: Martijn Dekker Date: Fri, 5 Jun 2020 20:58:41 +0200 Subject: [PATCH] For consistency & greppability: global replace "sub-shell" => "subshell" (cherry picked from commit 25eeb9bcdc0a23a66765fd3e5d7e36337da65051) --- lib/package/ast-open.README | 4 ++-- lib/package/ast-open.html | 4 ++-- src/cmd/ksh93/RELEASE | 4 ++-- src/cmd/ksh93/sh.1 | 2 +- src/cmd/ksh93/sh/subshell.c | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/package/ast-open.README b/lib/package/ast-open.README index c5e029e84..481e5050e 100644 --- a/lib/package/ast-open.README +++ b/lib/package/ast-open.README @@ -1234,7 +1234,7 @@ All recorded changes follow. 09-01-20 A bug in which the exit status specified in an exit trap was not used when a process terminated with a signal has been fixed. 09-01-19 A bug in which a signal whose default action is to terminate - a process could be ignored when the process is running a sub-shell + a process could be ignored when the process is running a subshell has been fixed. 09-01-19 A bug in which sending SIGWINCH to a process that reads from a pipe could cause a memory fault has been fixed. @@ -2878,7 +2878,7 @@ All recorded changes follow. 98-04-30 +A callback function can be installed which will give notification of file duplications and file closes. 98-04-30 When ksh is compiled on systems that do not use fork() - current option settings where not propagated to sub-shells. + current option settings where not propagated to subshells. 97-06-30 --- Release ksh93f --- 97-06-30 +Hostnames in addition to host addresses can be given in diff --git a/lib/package/ast-open.html b/lib/package/ast-open.html index 5d459c187..063bc62b0 100644 --- a/lib/package/ast-open.html +++ b/lib/package/ast-open.html @@ -2132,7 +2132,7 @@ All recorded changes follow. 09-01-20 A bug in which the exit status specified in an exit trap was not used when a process terminated with a signal has been fixed. 09-01-19 A bug in which a signal whose default action is to terminate - a process could be ignored when the process is running a sub-shell + a process could be ignored when the process is running a subshell has been fixed. 09-01-19 A bug in which sending SIGWINCH to a process that reads from a pipe could cause a memory fault has been fixed. @@ -3776,7 +3776,7 @@ All recorded changes follow. 98-04-30 +A callback function can be installed which will give notification of file duplications and file closes. 98-04-30 When ksh is compiled on systems that do not use fork() - current option settings where not propagated to sub-shells. + current option settings where not propagated to subshells. 97-06-30 --- Release ksh93f --- 97-06-30 +Hostnames in addition to host addresses can be given in diff --git a/src/cmd/ksh93/RELEASE b/src/cmd/ksh93/RELEASE index 198703862..e8c9caf99 100644 --- a/src/cmd/ksh93/RELEASE +++ b/src/cmd/ksh93/RELEASE @@ -1138,7 +1138,7 @@ 09-01-20 A bug in which the exit status specified in an exit trap was not used when a process terminated with a signal has been fixed. 09-01-19 A bug in which a signal whose default action is to terminate - a process could be ignored when the process is running a sub-shell + a process could be ignored when the process is running a subshell has been fixed. 09-01-19 A bug in which sending SIGWINCH to a process that reads from a pipe could cause a memory fault has been fixed. @@ -2782,7 +2782,7 @@ 98-04-30 +A callback function can be installed which will give notification of file duplications and file closes. 98-04-30 When ksh is compiled on systems that do not use fork() - current option settings where not propagated to sub-shells. + current option settings where not propagated to subshells. 97-06-30 --- Release ksh93f --- 97-06-30 +Hostnames in addition to host addresses can be given in diff --git a/src/cmd/ksh93/sh.1 b/src/cmd/ksh93/sh.1 index e018a2081..9eaa5d2a1 100644 --- a/src/cmd/ksh93/sh.1 +++ b/src/cmd/ksh93/sh.1 @@ -4335,7 +4335,7 @@ If the environment variable does not already exist it will be added to the environment list for the specified command. A parenthesized command is executed in -a sub-shell without removing non-exported variables. +a subshell without removing non-exported variables. .SS Command Re-entry. The text of the last .B diff --git a/src/cmd/ksh93/sh/subshell.c b/src/cmd/ksh93/sh/subshell.c index 1b7aea70c..61ce5ae9b 100644 --- a/src/cmd/ksh93/sh/subshell.c +++ b/src/cmd/ksh93/sh/subshell.c @@ -440,7 +440,7 @@ void sh_subjobcheck(pid_t pid) } /* - * Run command tree in a virtual sub-shell + * Run command tree in a virtual subshell * If comsub is not null, then output will be placed in temp file (or buffer) * If comsub is not null, the return value will be a stream consisting of * output of command . Otherwise, NULL will be returned.