mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-04 19:00:50 +02:00
commit bash-20170407 snapshot
This commit is contained in:
+125
-121
@@ -586,16 +586,20 @@ information.
|
||||
If the pipeline is not executed asynchronously (*note Lists::), the
|
||||
shell waits for all commands in the pipeline to complete.
|
||||
|
||||
Each command in a pipeline is executed in its own subshell (*note
|
||||
Command Execution Environment::). The exit status of a pipeline is the
|
||||
exit status of the last command in the pipeline, unless the 'pipefail'
|
||||
option is enabled (*note The Set Builtin::). If 'pipefail' is enabled,
|
||||
the pipeline's return status is the value of the last (rightmost)
|
||||
command to exit with a non-zero status, or zero if all commands exit
|
||||
successfully. If the reserved word '!' precedes the pipeline, the exit
|
||||
status is the logical negation of the exit status as described above.
|
||||
The shell waits for all commands in the pipeline to terminate before
|
||||
returning a value.
|
||||
Each command in a pipeline is executed in its own subshell, which is
|
||||
a separate process (*note Command Execution Environment::). If the
|
||||
'lastpipe' option is enabled using the 'shopt' builtin (*note The Shopt
|
||||
Builtin::), the last element of a pipeline may be run by the shell
|
||||
process.
|
||||
|
||||
The exit status of a pipeline is the exit status of the last command
|
||||
in the pipeline, unless the 'pipefail' option is enabled (*note The Set
|
||||
Builtin::). If 'pipefail' is enabled, the pipeline's return status is
|
||||
the value of the last (rightmost) command to exit with a non-zero
|
||||
status, or zero if all commands exit successfully. If the reserved word
|
||||
'!' precedes the pipeline, the exit status is the logical negation of
|
||||
the exit status as described above. The shell waits for all commands in
|
||||
the pipeline to terminate before returning a value.
|
||||
|
||||
|
||||
File: bashref.info, Node: Lists, Next: Compound Commands, Prev: Pipelines, Up: Shell Commands
|
||||
@@ -11504,116 +11508,116 @@ Node: Comments18728
|
||||
Node: Shell Commands19346
|
||||
Node: Simple Commands20218
|
||||
Node: Pipelines20849
|
||||
Node: Lists23592
|
||||
Node: Compound Commands25331
|
||||
Node: Looping Constructs26343
|
||||
Node: Conditional Constructs28838
|
||||
Node: Command Grouping39893
|
||||
Node: Coprocesses41372
|
||||
Node: GNU Parallel43204
|
||||
Node: Shell Functions47177
|
||||
Node: Shell Parameters54376
|
||||
Node: Positional Parameters58789
|
||||
Node: Special Parameters59689
|
||||
Node: Shell Expansions63026
|
||||
Node: Brace Expansion65120
|
||||
Node: Tilde Expansion67954
|
||||
Node: Shell Parameter Expansion70302
|
||||
Node: Command Substitution84434
|
||||
Node: Arithmetic Expansion85789
|
||||
Node: Process Substitution86721
|
||||
Node: Word Splitting87841
|
||||
Node: Filename Expansion89785
|
||||
Node: Pattern Matching92159
|
||||
Node: Quote Removal96145
|
||||
Node: Redirections96440
|
||||
Node: Executing Commands105998
|
||||
Node: Simple Command Expansion106668
|
||||
Node: Command Search and Execution108598
|
||||
Node: Command Execution Environment110934
|
||||
Node: Environment113918
|
||||
Node: Exit Status115577
|
||||
Node: Signals117247
|
||||
Node: Shell Scripts119214
|
||||
Node: Shell Builtin Commands121729
|
||||
Node: Bourne Shell Builtins123763
|
||||
Node: Bash Builtins144363
|
||||
Node: Modifying Shell Behavior173008
|
||||
Node: The Set Builtin173353
|
||||
Node: The Shopt Builtin183766
|
||||
Node: Special Builtins199664
|
||||
Node: Shell Variables200643
|
||||
Node: Bourne Shell Variables201080
|
||||
Node: Bash Variables203184
|
||||
Node: Bash Features232977
|
||||
Node: Invoking Bash233876
|
||||
Node: Bash Startup Files239825
|
||||
Node: Interactive Shells244928
|
||||
Node: What is an Interactive Shell?245338
|
||||
Node: Is this Shell Interactive?245987
|
||||
Node: Interactive Shell Behavior246802
|
||||
Node: Bash Conditional Expressions250290
|
||||
Node: Shell Arithmetic254656
|
||||
Node: Aliases257473
|
||||
Node: Arrays260021
|
||||
Node: The Directory Stack265183
|
||||
Node: Directory Stack Builtins265967
|
||||
Node: Controlling the Prompt268935
|
||||
Node: The Restricted Shell271697
|
||||
Node: Bash POSIX Mode273522
|
||||
Node: Job Control283873
|
||||
Node: Job Control Basics284333
|
||||
Node: Job Control Builtins289301
|
||||
Node: Job Control Variables294028
|
||||
Node: Command Line Editing295184
|
||||
Node: Introduction and Notation296855
|
||||
Node: Readline Interaction298478
|
||||
Node: Readline Bare Essentials299669
|
||||
Node: Readline Movement Commands301452
|
||||
Node: Readline Killing Commands302412
|
||||
Node: Readline Arguments304330
|
||||
Node: Searching305374
|
||||
Node: Readline Init File307560
|
||||
Node: Readline Init File Syntax308707
|
||||
Node: Conditional Init Constructs328894
|
||||
Node: Sample Init File331419
|
||||
Node: Bindable Readline Commands334536
|
||||
Node: Commands For Moving335740
|
||||
Node: Commands For History337589
|
||||
Node: Commands For Text341884
|
||||
Node: Commands For Killing345273
|
||||
Node: Numeric Arguments347754
|
||||
Node: Commands For Completion348893
|
||||
Node: Keyboard Macros353084
|
||||
Node: Miscellaneous Commands353771
|
||||
Node: Readline vi Mode359647
|
||||
Node: Programmable Completion360554
|
||||
Node: Programmable Completion Builtins368015
|
||||
Node: A Programmable Completion Example377901
|
||||
Node: Using History Interactively383153
|
||||
Node: Bash History Facilities383837
|
||||
Node: Bash History Builtins386838
|
||||
Node: History Interaction391130
|
||||
Node: Event Designators394094
|
||||
Node: Word Designators395313
|
||||
Node: Modifiers396950
|
||||
Node: Installing Bash398352
|
||||
Node: Basic Installation399489
|
||||
Node: Compilers and Options402180
|
||||
Node: Compiling For Multiple Architectures402921
|
||||
Node: Installation Names404584
|
||||
Node: Specifying the System Type405402
|
||||
Node: Sharing Defaults406118
|
||||
Node: Operation Controls406791
|
||||
Node: Optional Features407749
|
||||
Node: Reporting Bugs418275
|
||||
Node: Major Differences From The Bourne Shell419469
|
||||
Node: GNU Free Documentation License436321
|
||||
Node: Indexes461498
|
||||
Node: Builtin Index461952
|
||||
Node: Reserved Word Index468779
|
||||
Node: Variable Index471227
|
||||
Node: Function Index486905
|
||||
Node: Concept Index500208
|
||||
Node: Lists23781
|
||||
Node: Compound Commands25520
|
||||
Node: Looping Constructs26532
|
||||
Node: Conditional Constructs29027
|
||||
Node: Command Grouping40082
|
||||
Node: Coprocesses41561
|
||||
Node: GNU Parallel43393
|
||||
Node: Shell Functions47366
|
||||
Node: Shell Parameters54565
|
||||
Node: Positional Parameters58978
|
||||
Node: Special Parameters59878
|
||||
Node: Shell Expansions63215
|
||||
Node: Brace Expansion65309
|
||||
Node: Tilde Expansion68143
|
||||
Node: Shell Parameter Expansion70491
|
||||
Node: Command Substitution84623
|
||||
Node: Arithmetic Expansion85978
|
||||
Node: Process Substitution86910
|
||||
Node: Word Splitting88030
|
||||
Node: Filename Expansion89974
|
||||
Node: Pattern Matching92348
|
||||
Node: Quote Removal96334
|
||||
Node: Redirections96629
|
||||
Node: Executing Commands106187
|
||||
Node: Simple Command Expansion106857
|
||||
Node: Command Search and Execution108787
|
||||
Node: Command Execution Environment111123
|
||||
Node: Environment114107
|
||||
Node: Exit Status115766
|
||||
Node: Signals117436
|
||||
Node: Shell Scripts119403
|
||||
Node: Shell Builtin Commands121918
|
||||
Node: Bourne Shell Builtins123952
|
||||
Node: Bash Builtins144552
|
||||
Node: Modifying Shell Behavior173197
|
||||
Node: The Set Builtin173542
|
||||
Node: The Shopt Builtin183955
|
||||
Node: Special Builtins199853
|
||||
Node: Shell Variables200832
|
||||
Node: Bourne Shell Variables201269
|
||||
Node: Bash Variables203373
|
||||
Node: Bash Features233166
|
||||
Node: Invoking Bash234065
|
||||
Node: Bash Startup Files240014
|
||||
Node: Interactive Shells245117
|
||||
Node: What is an Interactive Shell?245527
|
||||
Node: Is this Shell Interactive?246176
|
||||
Node: Interactive Shell Behavior246991
|
||||
Node: Bash Conditional Expressions250479
|
||||
Node: Shell Arithmetic254845
|
||||
Node: Aliases257662
|
||||
Node: Arrays260210
|
||||
Node: The Directory Stack265372
|
||||
Node: Directory Stack Builtins266156
|
||||
Node: Controlling the Prompt269124
|
||||
Node: The Restricted Shell271886
|
||||
Node: Bash POSIX Mode273711
|
||||
Node: Job Control284062
|
||||
Node: Job Control Basics284522
|
||||
Node: Job Control Builtins289490
|
||||
Node: Job Control Variables294217
|
||||
Node: Command Line Editing295373
|
||||
Node: Introduction and Notation297044
|
||||
Node: Readline Interaction298667
|
||||
Node: Readline Bare Essentials299858
|
||||
Node: Readline Movement Commands301641
|
||||
Node: Readline Killing Commands302601
|
||||
Node: Readline Arguments304519
|
||||
Node: Searching305563
|
||||
Node: Readline Init File307749
|
||||
Node: Readline Init File Syntax308896
|
||||
Node: Conditional Init Constructs329083
|
||||
Node: Sample Init File331608
|
||||
Node: Bindable Readline Commands334725
|
||||
Node: Commands For Moving335929
|
||||
Node: Commands For History337778
|
||||
Node: Commands For Text342073
|
||||
Node: Commands For Killing345462
|
||||
Node: Numeric Arguments347943
|
||||
Node: Commands For Completion349082
|
||||
Node: Keyboard Macros353273
|
||||
Node: Miscellaneous Commands353960
|
||||
Node: Readline vi Mode359836
|
||||
Node: Programmable Completion360743
|
||||
Node: Programmable Completion Builtins368204
|
||||
Node: A Programmable Completion Example378090
|
||||
Node: Using History Interactively383342
|
||||
Node: Bash History Facilities384026
|
||||
Node: Bash History Builtins387027
|
||||
Node: History Interaction391319
|
||||
Node: Event Designators394283
|
||||
Node: Word Designators395502
|
||||
Node: Modifiers397139
|
||||
Node: Installing Bash398541
|
||||
Node: Basic Installation399678
|
||||
Node: Compilers and Options402369
|
||||
Node: Compiling For Multiple Architectures403110
|
||||
Node: Installation Names404773
|
||||
Node: Specifying the System Type405591
|
||||
Node: Sharing Defaults406307
|
||||
Node: Operation Controls406980
|
||||
Node: Optional Features407938
|
||||
Node: Reporting Bugs418464
|
||||
Node: Major Differences From The Bourne Shell419658
|
||||
Node: GNU Free Documentation License436510
|
||||
Node: Indexes461687
|
||||
Node: Builtin Index462141
|
||||
Node: Reserved Word Index468968
|
||||
Node: Variable Index471416
|
||||
Node: Function Index487094
|
||||
Node: Concept Index500397
|
||||
|
||||
End Tag Table
|
||||
|
||||
Reference in New Issue
Block a user