mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-02 01:40:49 +02:00
fix for EXIT trap in -c command; suspend -f now suspends even if job control is not enabled
This commit is contained in:
+146
-144
@@ -1,9 +1,9 @@
|
||||
This is bash.info, produced by makeinfo version 6.8 from bashref.texi.
|
||||
|
||||
This text is a brief description of the features that are present in the
|
||||
Bash shell (version 5.2, 11 April 2022).
|
||||
Bash shell (version 5.2, 2 May 2022).
|
||||
|
||||
This is Edition 5.2, last updated 11 April 2022, of 'The GNU Bash
|
||||
This is Edition 5.2, last updated 2 May 2022, of 'The GNU Bash
|
||||
Reference Manual', for 'Bash', Version 5.2.
|
||||
|
||||
Copyright (C) 1988-2022 Free Software Foundation, Inc.
|
||||
@@ -26,10 +26,10 @@ Bash Features
|
||||
*************
|
||||
|
||||
This text is a brief description of the features that are present in the
|
||||
Bash shell (version 5.2, 11 April 2022). The Bash home page is
|
||||
Bash shell (version 5.2, 2 May 2022). The Bash home page is
|
||||
<http://www.gnu.org/software/bash/>.
|
||||
|
||||
This is Edition 5.2, last updated 11 April 2022, of 'The GNU Bash
|
||||
This is Edition 5.2, last updated 2 May 2022, of 'The GNU Bash
|
||||
Reference Manual', for 'Bash', Version 5.2.
|
||||
|
||||
Bash contains features that appear in other popular shells, and some
|
||||
@@ -704,11 +704,12 @@ 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", 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 when job control is not active.
|
||||
Each command in a multi-command pipeline, where pipes are created, 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 when job control is not
|
||||
active.
|
||||
|
||||
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
|
||||
@@ -2431,9 +2432,10 @@ characters must be quoted if they are to be matched literally.
|
||||
character not enclosed is matched. A '-' may be matched by
|
||||
including it as the first or last character in the set. A ']' may
|
||||
be matched by including it as the first character in the set. The
|
||||
sorting order of characters in range expressions is determined by
|
||||
the current locale and the values of the 'LC_COLLATE' and 'LC_ALL'
|
||||
shell variables, if set.
|
||||
sorting order of characters in range expressions, and the
|
||||
characters included in the range, are determined by the current
|
||||
locale and the values of the 'LC_COLLATE' and 'LC_ALL' shell
|
||||
variables, if set.
|
||||
|
||||
For example, in the default C locale, '[a-dx-z]' is equivalent to
|
||||
'[abcdxyz]'. Many locales sort characters in dictionary order, and
|
||||
@@ -12499,138 +12501,138 @@ D.5 Concept Index
|
||||
|
||||
|
||||
Tag Table:
|
||||
Node: Top888
|
||||
Node: Introduction2799
|
||||
Node: What is Bash?3012
|
||||
Node: What is a shell?4123
|
||||
Node: Definitions6658
|
||||
Node: Basic Shell Features9606
|
||||
Node: Shell Syntax10822
|
||||
Node: Shell Operation11845
|
||||
Node: Quoting13135
|
||||
Node: Escape Character14436
|
||||
Node: Single Quotes14918
|
||||
Node: Double Quotes15263
|
||||
Node: ANSI-C Quoting16538
|
||||
Node: Locale Translation17845
|
||||
Node: Creating Internationalized Scripts19153
|
||||
Node: Comments23267
|
||||
Node: Shell Commands23882
|
||||
Node: Reserved Words24817
|
||||
Node: Simple Commands25570
|
||||
Node: Pipelines26221
|
||||
Node: Lists29177
|
||||
Node: Compound Commands30969
|
||||
Node: Looping Constructs31978
|
||||
Node: Conditional Constructs34470
|
||||
Node: Command Grouping48811
|
||||
Node: Coprocesses50286
|
||||
Node: GNU Parallel52946
|
||||
Node: Shell Functions53860
|
||||
Node: Shell Parameters61742
|
||||
Node: Positional Parameters66127
|
||||
Node: Special Parameters67026
|
||||
Node: Shell Expansions70237
|
||||
Node: Brace Expansion72361
|
||||
Node: Tilde Expansion75092
|
||||
Node: Shell Parameter Expansion77710
|
||||
Node: Command Substitution96058
|
||||
Node: Arithmetic Expansion97410
|
||||
Node: Process Substitution98375
|
||||
Node: Word Splitting99492
|
||||
Node: Filename Expansion101433
|
||||
Node: Pattern Matching104179
|
||||
Node: Quote Removal108784
|
||||
Node: Redirections109076
|
||||
Node: Executing Commands118733
|
||||
Node: Simple Command Expansion119400
|
||||
Node: Command Search and Execution121507
|
||||
Node: Command Execution Environment123882
|
||||
Node: Environment126914
|
||||
Node: Exit Status128574
|
||||
Node: Signals130355
|
||||
Node: Shell Scripts133801
|
||||
Node: Shell Builtin Commands136825
|
||||
Node: Bourne Shell Builtins138860
|
||||
Node: Bash Builtins160318
|
||||
Node: Modifying Shell Behavior191171
|
||||
Node: The Set Builtin191513
|
||||
Node: The Shopt Builtin202111
|
||||
Node: Special Builtins218020
|
||||
Node: Shell Variables218996
|
||||
Node: Bourne Shell Variables219430
|
||||
Node: Bash Variables221531
|
||||
Node: Bash Features254344
|
||||
Node: Invoking Bash255354
|
||||
Node: Bash Startup Files261364
|
||||
Node: Interactive Shells266464
|
||||
Node: What is an Interactive Shell?266871
|
||||
Node: Is this Shell Interactive?267517
|
||||
Node: Interactive Shell Behavior268329
|
||||
Node: Bash Conditional Expressions271955
|
||||
Node: Shell Arithmetic276594
|
||||
Node: Aliases279535
|
||||
Node: Arrays282145
|
||||
Node: The Directory Stack288533
|
||||
Node: Directory Stack Builtins289314
|
||||
Node: Controlling the Prompt293571
|
||||
Node: The Restricted Shell296533
|
||||
Node: Bash POSIX Mode299140
|
||||
Node: Shell Compatibility Mode311061
|
||||
Node: Job Control319087
|
||||
Node: Job Control Basics319544
|
||||
Node: Job Control Builtins324543
|
||||
Node: Job Control Variables329940
|
||||
Node: Command Line Editing331093
|
||||
Node: Introduction and Notation332761
|
||||
Node: Readline Interaction334381
|
||||
Node: Readline Bare Essentials335569
|
||||
Node: Readline Movement Commands337349
|
||||
Node: Readline Killing Commands338306
|
||||
Node: Readline Arguments340221
|
||||
Node: Searching341262
|
||||
Node: Readline Init File343445
|
||||
Node: Readline Init File Syntax344703
|
||||
Node: Conditional Init Constructs367899
|
||||
Node: Sample Init File372092
|
||||
Node: Bindable Readline Commands375213
|
||||
Node: Commands For Moving376414
|
||||
Node: Commands For History378462
|
||||
Node: Commands For Text383453
|
||||
Node: Commands For Killing387099
|
||||
Node: Numeric Arguments390129
|
||||
Node: Commands For Completion391265
|
||||
Node: Keyboard Macros395453
|
||||
Node: Miscellaneous Commands396137
|
||||
Node: Readline vi Mode402073
|
||||
Node: Programmable Completion402977
|
||||
Node: Programmable Completion Builtins410754
|
||||
Node: A Programmable Completion Example421446
|
||||
Node: Using History Interactively426690
|
||||
Node: Bash History Facilities427371
|
||||
Node: Bash History Builtins430373
|
||||
Node: History Interaction435378
|
||||
Node: Event Designators438995
|
||||
Node: Word Designators440346
|
||||
Node: Modifiers442103
|
||||
Node: Installing Bash443911
|
||||
Node: Basic Installation445045
|
||||
Node: Compilers and Options448764
|
||||
Node: Compiling For Multiple Architectures449502
|
||||
Node: Installation Names451192
|
||||
Node: Specifying the System Type453298
|
||||
Node: Sharing Defaults454011
|
||||
Node: Operation Controls454681
|
||||
Node: Optional Features455636
|
||||
Node: Reporting Bugs466851
|
||||
Node: Major Differences From The Bourne Shell468123
|
||||
Node: GNU Free Documentation License484970
|
||||
Node: Indexes510144
|
||||
Node: Builtin Index510595
|
||||
Node: Reserved Word Index517419
|
||||
Node: Variable Index519864
|
||||
Node: Function Index536635
|
||||
Node: Concept Index550416
|
||||
Node: Top882
|
||||
Node: Introduction2787
|
||||
Node: What is Bash?3000
|
||||
Node: What is a shell?4111
|
||||
Node: Definitions6646
|
||||
Node: Basic Shell Features9594
|
||||
Node: Shell Syntax10810
|
||||
Node: Shell Operation11833
|
||||
Node: Quoting13123
|
||||
Node: Escape Character14424
|
||||
Node: Single Quotes14906
|
||||
Node: Double Quotes15251
|
||||
Node: ANSI-C Quoting16526
|
||||
Node: Locale Translation17833
|
||||
Node: Creating Internationalized Scripts19141
|
||||
Node: Comments23255
|
||||
Node: Shell Commands23870
|
||||
Node: Reserved Words24805
|
||||
Node: Simple Commands25558
|
||||
Node: Pipelines26209
|
||||
Node: Lists29205
|
||||
Node: Compound Commands30997
|
||||
Node: Looping Constructs32006
|
||||
Node: Conditional Constructs34498
|
||||
Node: Command Grouping48839
|
||||
Node: Coprocesses50314
|
||||
Node: GNU Parallel52974
|
||||
Node: Shell Functions53888
|
||||
Node: Shell Parameters61770
|
||||
Node: Positional Parameters66155
|
||||
Node: Special Parameters67054
|
||||
Node: Shell Expansions70265
|
||||
Node: Brace Expansion72389
|
||||
Node: Tilde Expansion75120
|
||||
Node: Shell Parameter Expansion77738
|
||||
Node: Command Substitution96086
|
||||
Node: Arithmetic Expansion97438
|
||||
Node: Process Substitution98403
|
||||
Node: Word Splitting99520
|
||||
Node: Filename Expansion101461
|
||||
Node: Pattern Matching104207
|
||||
Node: Quote Removal108861
|
||||
Node: Redirections109153
|
||||
Node: Executing Commands118810
|
||||
Node: Simple Command Expansion119477
|
||||
Node: Command Search and Execution121584
|
||||
Node: Command Execution Environment123959
|
||||
Node: Environment126991
|
||||
Node: Exit Status128651
|
||||
Node: Signals130432
|
||||
Node: Shell Scripts133878
|
||||
Node: Shell Builtin Commands136902
|
||||
Node: Bourne Shell Builtins138937
|
||||
Node: Bash Builtins160395
|
||||
Node: Modifying Shell Behavior191248
|
||||
Node: The Set Builtin191590
|
||||
Node: The Shopt Builtin202188
|
||||
Node: Special Builtins218097
|
||||
Node: Shell Variables219073
|
||||
Node: Bourne Shell Variables219507
|
||||
Node: Bash Variables221608
|
||||
Node: Bash Features254421
|
||||
Node: Invoking Bash255431
|
||||
Node: Bash Startup Files261441
|
||||
Node: Interactive Shells266541
|
||||
Node: What is an Interactive Shell?266948
|
||||
Node: Is this Shell Interactive?267594
|
||||
Node: Interactive Shell Behavior268406
|
||||
Node: Bash Conditional Expressions272032
|
||||
Node: Shell Arithmetic276671
|
||||
Node: Aliases279612
|
||||
Node: Arrays282222
|
||||
Node: The Directory Stack288610
|
||||
Node: Directory Stack Builtins289391
|
||||
Node: Controlling the Prompt293648
|
||||
Node: The Restricted Shell296610
|
||||
Node: Bash POSIX Mode299217
|
||||
Node: Shell Compatibility Mode311138
|
||||
Node: Job Control319164
|
||||
Node: Job Control Basics319621
|
||||
Node: Job Control Builtins324620
|
||||
Node: Job Control Variables330017
|
||||
Node: Command Line Editing331170
|
||||
Node: Introduction and Notation332838
|
||||
Node: Readline Interaction334458
|
||||
Node: Readline Bare Essentials335646
|
||||
Node: Readline Movement Commands337426
|
||||
Node: Readline Killing Commands338383
|
||||
Node: Readline Arguments340298
|
||||
Node: Searching341339
|
||||
Node: Readline Init File343522
|
||||
Node: Readline Init File Syntax344780
|
||||
Node: Conditional Init Constructs367976
|
||||
Node: Sample Init File372169
|
||||
Node: Bindable Readline Commands375290
|
||||
Node: Commands For Moving376491
|
||||
Node: Commands For History378539
|
||||
Node: Commands For Text383530
|
||||
Node: Commands For Killing387176
|
||||
Node: Numeric Arguments390206
|
||||
Node: Commands For Completion391342
|
||||
Node: Keyboard Macros395530
|
||||
Node: Miscellaneous Commands396214
|
||||
Node: Readline vi Mode402150
|
||||
Node: Programmable Completion403054
|
||||
Node: Programmable Completion Builtins410831
|
||||
Node: A Programmable Completion Example421523
|
||||
Node: Using History Interactively426767
|
||||
Node: Bash History Facilities427448
|
||||
Node: Bash History Builtins430450
|
||||
Node: History Interaction435455
|
||||
Node: Event Designators439072
|
||||
Node: Word Designators440423
|
||||
Node: Modifiers442180
|
||||
Node: Installing Bash443988
|
||||
Node: Basic Installation445122
|
||||
Node: Compilers and Options448841
|
||||
Node: Compiling For Multiple Architectures449579
|
||||
Node: Installation Names451269
|
||||
Node: Specifying the System Type453375
|
||||
Node: Sharing Defaults454088
|
||||
Node: Operation Controls454758
|
||||
Node: Optional Features455713
|
||||
Node: Reporting Bugs466928
|
||||
Node: Major Differences From The Bourne Shell468200
|
||||
Node: GNU Free Documentation License485047
|
||||
Node: Indexes510221
|
||||
Node: Builtin Index510672
|
||||
Node: Reserved Word Index517496
|
||||
Node: Variable Index519941
|
||||
Node: Function Index536712
|
||||
Node: Concept Index550493
|
||||
|
||||
End Tag Table
|
||||
|
||||
|
||||
Reference in New Issue
Block a user