getting ready for bash-5.2

This commit is contained in:
Chet Ramey
2022-01-11 15:53:25 -05:00
parent be7fc0525e
commit 5e6f45d9b1
32 changed files with 8325 additions and 7093 deletions
+153 -145
View File
@@ -2,9 +2,9 @@ This is bashref.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, 2 December 2021).
Bash shell (version 5.2, 26 December 2021).
This is Edition 5.2, last updated 2 December 2021, of 'The GNU Bash
This is Edition 5.2, last updated 26 December 2021, of 'The GNU Bash
Reference Manual', for 'Bash', Version 5.2.
Copyright (C) 1988-2021 Free Software Foundation, Inc.
@@ -27,10 +27,10 @@ Bash Features
*************
This text is a brief description of the features that are present in the
Bash shell (version 5.2, 2 December 2021). The Bash home page is
Bash shell (version 5.2, 26 December 2021). The Bash home page is
<http://www.gnu.org/software/bash/>.
This is Edition 5.2, last updated 2 December 2021, of 'The GNU Bash
This is Edition 5.2, last updated 26 December 2021, of 'The GNU Bash
Reference Manual', for 'Bash', Version 5.2.
Bash contains features that appear in other popular shells, and some
@@ -2345,8 +2345,10 @@ characters.
the start of a filename or immediately following a slash must be matched
explicitly, unless the shell option 'dotglob' is set. In order to match
the filenames '.' and '..', the pattern must begin with '.' (for
example, '.?'), even if 'dotglob' is set. When not matching filenames,
the '.' character is not treated specially.
example, '.?'), even if 'dotglob' is set. If the 'globskipdots' shell
option is enabled, the filenames '.' and '..' are never matched, even if
the pattern begins with a '.'. When not matching filenames, the '.'
character is not treated specially.
When matching a filename, the slash character must always be matched
explicitly by a slash in the pattern, but in other matching contexts it
@@ -2354,8 +2356,8 @@ can be matched by a special pattern character as described below (*note
Pattern Matching::).
See the description of 'shopt' in *note The Shopt Builtin::, for a
description of the 'nocaseglob', 'nullglob', 'failglob', and 'dotglob'
options.
description of the 'nocaseglob', 'nullglob', 'globskipdots', 'failglob',
and 'dotglob' options.
The 'GLOBIGNORE' shell variable may be used to restrict the set of
file names matching a pattern. If 'GLOBIGNORE' is set, each matching
@@ -4567,9 +4569,10 @@ parameters, or to display the names and values of shell variables.
'-u'
Treat unset variables and parameters other than the special
parameters '@' or '*' as an error when performing parameter
expansion. An error message will be written to the standard
error, and a non-interactive shell will exit.
parameters '@' or '*', or array variables subscripted with '@'
or '*', as an error when performing parameter expansion. An
error message will be written to the standard error, and a
non-interactive shell will exit.
'-v'
Print shell input lines as they are read.
@@ -4861,6 +4864,11 @@ This builtin allows you to change additional shell optional behavior.
upper-case and lower-case ASCII characters will collate
together.
'globskipdots'
If set, filename expansion will never match the filenames '.'
and '..', even if the pattern begins with a '.'. This option
is enabled by default.
'globstar'
If set, the pattern '**' used in a filename expansion context
will match all files and zero or more directories and
@@ -6149,8 +6157,8 @@ File: bashref.info, Node: What is an Interactive Shell?, Next: Is this Shell I
6.3.1 What is an Interactive Shell?
-----------------------------------
An interactive shell is one started without non-option arguments, unless
'-s' is specified, without specifying the '-c' option, and whose input
An interactive shell is one started without non-option arguments (unless
'-s' is specified) and without specifying the '-c' option, whose input
and error output are both connected to terminals (as determined by
'isatty(3)'), or one started with the '-i' option.
@@ -12415,138 +12423,138 @@ D.5 Concept Index

Tag Table:
Node: Top895
Node: Introduction2813
Node: What is Bash?3029
Node: What is a shell?4143
Node: Definitions6681
Node: Basic Shell Features9632
Node: Shell Syntax10851
Node: Shell Operation11877
Node: Quoting13170
Node: Escape Character14474
Node: Single Quotes14959
Node: Double Quotes15307
Node: ANSI-C Quoting16585
Node: Locale Translation17895
Node: Creating Internationalized Scripts19206
Node: Comments23323
Node: Shell Commands23941
Node: Reserved Words24879
Node: Simple Commands25635
Node: Pipelines26289
Node: Lists29248
Node: Compound Commands31043
Node: Looping Constructs32055
Node: Conditional Constructs34550
Node: Command Grouping48894
Node: Coprocesses50372
Node: GNU Parallel53035
Node: Shell Functions53952
Node: Shell Parameters61243
Node: Positional Parameters65631
Node: Special Parameters66533
Node: Shell Expansions69747
Node: Brace Expansion71874
Node: Tilde Expansion74608
Node: Shell Parameter Expansion77229
Node: Command Substitution95095
Node: Arithmetic Expansion96450
Node: Process Substitution97418
Node: Word Splitting98538
Node: Filename Expansion100482
Node: Pattern Matching103082
Node: Quote Removal107690
Node: Redirections107985
Node: Executing Commands117645
Node: Simple Command Expansion118315
Node: Command Search and Execution120425
Node: Command Execution Environment122803
Node: Environment125838
Node: Exit Status127501
Node: Signals129285
Node: Shell Scripts132734
Node: Shell Builtin Commands135761
Node: Bourne Shell Builtins137799
Node: Bash Builtins159260
Node: Modifying Shell Behavior190116
Node: The Set Builtin190461
Node: The Shopt Builtin201003
Node: Special Builtins216717
Node: Shell Variables217696
Node: Bourne Shell Variables218133
Node: Bash Variables220237
Node: Bash Features253053
Node: Invoking Bash254066
Node: Bash Startup Files260079
Node: Interactive Shells265182
Node: What is an Interactive Shell?265592
Node: Is this Shell Interactive?266241
Node: Interactive Shell Behavior267056
Node: Bash Conditional Expressions270685
Node: Shell Arithmetic275327
Node: Aliases278271
Node: Arrays280884
Node: The Directory Stack287131
Node: Directory Stack Builtins287915
Node: Controlling the Prompt292175
Node: The Restricted Shell295140
Node: Bash POSIX Mode297750
Node: Shell Compatibility Mode309023
Node: Job Control317052
Node: Job Control Basics317512
Node: Job Control Builtins322514
Node: Job Control Variables327914
Node: Command Line Editing329070
Node: Introduction and Notation330741
Node: Readline Interaction332364
Node: Readline Bare Essentials333555
Node: Readline Movement Commands335338
Node: Readline Killing Commands336298
Node: Readline Arguments338216
Node: Searching339260
Node: Readline Init File341446
Node: Readline Init File Syntax342707
Node: Conditional Init Constructs364195
Node: Sample Init File368391
Node: Bindable Readline Commands371515
Node: Commands For Moving372719
Node: Commands For History374770
Node: Commands For Text379764
Node: Commands For Killing383413
Node: Numeric Arguments386446
Node: Commands For Completion387585
Node: Keyboard Macros391776
Node: Miscellaneous Commands392463
Node: Readline vi Mode398402
Node: Programmable Completion399309
Node: Programmable Completion Builtins407089
Node: A Programmable Completion Example417784
Node: Using History Interactively423031
Node: Bash History Facilities423715
Node: Bash History Builtins426720
Node: History Interaction431728
Node: Event Designators435348
Node: Word Designators436702
Node: Modifiers438462
Node: Installing Bash440273
Node: Basic Installation441410
Node: Compilers and Options445132
Node: Compiling For Multiple Architectures445873
Node: Installation Names447566
Node: Specifying the System Type449675
Node: Sharing Defaults450391
Node: Operation Controls451064
Node: Optional Features452022
Node: Reporting Bugs463240
Node: Major Differences From The Bourne Shell464515
Node: GNU Free Documentation License481365
Node: Indexes506542
Node: Builtin Index506996
Node: Reserved Word Index513823
Node: Variable Index516271
Node: Function Index532763
Node: Concept Index546547
Node: Top897
Node: Introduction2817
Node: What is Bash?3033
Node: What is a shell?4147
Node: Definitions6685
Node: Basic Shell Features9636
Node: Shell Syntax10855
Node: Shell Operation11881
Node: Quoting13174
Node: Escape Character14478
Node: Single Quotes14963
Node: Double Quotes15311
Node: ANSI-C Quoting16589
Node: Locale Translation17899
Node: Creating Internationalized Scripts19210
Node: Comments23327
Node: Shell Commands23945
Node: Reserved Words24883
Node: Simple Commands25639
Node: Pipelines26293
Node: Lists29252
Node: Compound Commands31047
Node: Looping Constructs32059
Node: Conditional Constructs34554
Node: Command Grouping48898
Node: Coprocesses50376
Node: GNU Parallel53039
Node: Shell Functions53956
Node: Shell Parameters61247
Node: Positional Parameters65635
Node: Special Parameters66537
Node: Shell Expansions69751
Node: Brace Expansion71878
Node: Tilde Expansion74612
Node: Shell Parameter Expansion77233
Node: Command Substitution95099
Node: Arithmetic Expansion96454
Node: Process Substitution97422
Node: Word Splitting98542
Node: Filename Expansion100486
Node: Pattern Matching103235
Node: Quote Removal107843
Node: Redirections108138
Node: Executing Commands117798
Node: Simple Command Expansion118468
Node: Command Search and Execution120578
Node: Command Execution Environment122956
Node: Environment125991
Node: Exit Status127654
Node: Signals129438
Node: Shell Scripts132887
Node: Shell Builtin Commands135914
Node: Bourne Shell Builtins137952
Node: Bash Builtins159413
Node: Modifying Shell Behavior190269
Node: The Set Builtin190614
Node: The Shopt Builtin201215
Node: Special Builtins217127
Node: Shell Variables218106
Node: Bourne Shell Variables218543
Node: Bash Variables220647
Node: Bash Features253463
Node: Invoking Bash254476
Node: Bash Startup Files260489
Node: Interactive Shells265592
Node: What is an Interactive Shell?266002
Node: Is this Shell Interactive?266651
Node: Interactive Shell Behavior267466
Node: Bash Conditional Expressions271095
Node: Shell Arithmetic275737
Node: Aliases278681
Node: Arrays281294
Node: The Directory Stack287541
Node: Directory Stack Builtins288325
Node: Controlling the Prompt292585
Node: The Restricted Shell295550
Node: Bash POSIX Mode298160
Node: Shell Compatibility Mode309433
Node: Job Control317462
Node: Job Control Basics317922
Node: Job Control Builtins322924
Node: Job Control Variables328324
Node: Command Line Editing329480
Node: Introduction and Notation331151
Node: Readline Interaction332774
Node: Readline Bare Essentials333965
Node: Readline Movement Commands335748
Node: Readline Killing Commands336708
Node: Readline Arguments338626
Node: Searching339670
Node: Readline Init File341856
Node: Readline Init File Syntax343117
Node: Conditional Init Constructs364605
Node: Sample Init File368801
Node: Bindable Readline Commands371925
Node: Commands For Moving373129
Node: Commands For History375180
Node: Commands For Text380174
Node: Commands For Killing383823
Node: Numeric Arguments386856
Node: Commands For Completion387995
Node: Keyboard Macros392186
Node: Miscellaneous Commands392873
Node: Readline vi Mode398812
Node: Programmable Completion399719
Node: Programmable Completion Builtins407499
Node: A Programmable Completion Example418194
Node: Using History Interactively423441
Node: Bash History Facilities424125
Node: Bash History Builtins427130
Node: History Interaction432138
Node: Event Designators435758
Node: Word Designators437112
Node: Modifiers438872
Node: Installing Bash440683
Node: Basic Installation441820
Node: Compilers and Options445542
Node: Compiling For Multiple Architectures446283
Node: Installation Names447976
Node: Specifying the System Type450085
Node: Sharing Defaults450801
Node: Operation Controls451474
Node: Optional Features452432
Node: Reporting Bugs463650
Node: Major Differences From The Bourne Shell464925
Node: GNU Free Documentation License481775
Node: Indexes506952
Node: Builtin Index507406
Node: Reserved Word Index514233
Node: Variable Index516681
Node: Function Index533173
Node: Concept Index546957

End Tag Table