commit bash-20050810 snapshot

This commit is contained in:
Chet Ramey
2011-12-03 13:49:42 -05:00
parent f5635ecdc9
commit 055a1bf5bc
16 changed files with 978 additions and 787 deletions
+6 -6
View File
@@ -1131,12 +1131,12 @@ simple calls to `read'. For example, piping a command's output
into a `while' loop that repeatedly calls `read' will result in
the same behavior.
Each element of a pipeline runs in a separate process, a child of
the shell running the pipeline. A subprocess cannot affect its
parent's environment. When the `read' command sets the variable
to the input, that variable is set only in the subshell, not the
parent shell. When the subshell exits, the value of the variable
is lost.
Each element of a pipeline, even a builtin or shell function,
runs in a separate process, a child of the shell running the
pipeline. A subprocess cannot affect its parent's environment.
When the `read' command sets the variable to the input, that
variable is set only in the subshell, not the parent shell. When
the subshell exits, the value of the variable is lost.
Many pipelines that end with `read variable' can be converted
into command substitutions, which will capture the output of
+771 -763
View File
File diff suppressed because it is too large Load Diff