extend assoc_expand_once to indexed arrays; rename to array_expand_once, keeping old name as a synonym; udpate shopt documentation

This commit is contained in:
Chet Ramey
2023-06-13 11:44:33 -04:00
parent d44a45afbc
commit 76112093ec
35 changed files with 1389 additions and 1157 deletions
+144 -141
View File
@@ -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, 23 May 2023).
Bash shell (version 5.2, 13 June 2023).
This is Edition 5.2, last updated 23 May 2023, of 'The GNU Bash
This is Edition 5.2, last updated 13 June 2023, of 'The GNU Bash
Reference Manual', for 'Bash', Version 5.2.
Copyright (C) 1988-2023 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, 23 May 2023). The Bash home page is
Bash shell (version 5.2, 13 June 2023). The Bash home page is
<http://www.gnu.org/software/bash/>.
This is Edition 5.2, last updated 23 May 2023, of 'The GNU Bash
This is Edition 5.2, last updated 13 June 2023, of 'The GNU Bash
Reference Manual', for 'Bash', Version 5.2.
Bash contains features that appear in other popular shells, and some
@@ -4846,12 +4846,15 @@ This builtin allows you to change additional shell optional behavior.
The list of 'shopt' options is:
'assoc_expand_once'
'array_expand_once'
If set, the shell suppresses multiple evaluation of
associative array subscripts during arithmetic expression
evaluation, while executing builtins that can perform variable
assignments, and while executing builtins that perform array
dereferencing.
associative and indexed array subscripts during arithmetic
expression evaluation, while executing builtins that can
perform variable assignments, and while executing builtins
that perform array dereferencing.
'assoc_expand_once'
Deprecated; a synonym for 'array_expand_once'.
'autocd'
If set, a command name that is the name of a directory is
@@ -12767,138 +12770,138 @@ D.5 Concept Index

Tag Table:
Node: Top884
Node: Introduction2791
Node: What is Bash?3004
Node: What is a shell?4115
Node: Definitions6650
Node: Basic Shell Features9598
Node: Shell Syntax10814
Node: Shell Operation11837
Node: Quoting13127
Node: Escape Character14428
Node: Single Quotes14910
Node: Double Quotes15255
Node: ANSI-C Quoting16530
Node: Locale Translation17839
Node: Creating Internationalized Scripts19147
Node: Comments23261
Node: Shell Commands23876
Node: Reserved Words24811
Node: Simple Commands25564
Node: Pipelines26215
Node: Lists29211
Node: Compound Commands31003
Node: Looping Constructs32012
Node: Conditional Constructs34504
Node: Command Grouping48989
Node: Coprocesses50464
Node: GNU Parallel53124
Node: Shell Functions54038
Node: Shell Parameters61920
Node: Positional Parameters66305
Node: Special Parameters67204
Node: Shell Expansions70415
Node: Brace Expansion72539
Node: Tilde Expansion75270
Node: Shell Parameter Expansion77888
Node: Command Substitution96287
Node: Arithmetic Expansion99748
Node: Process Substitution100713
Node: Word Splitting101830
Node: Filename Expansion103875
Node: Pattern Matching106805
Node: Quote Removal111804
Node: Redirections112096
Node: Executing Commands121786
Node: Simple Command Expansion122453
Node: Command Search and Execution124560
Node: Command Execution Environment126944
Node: Environment129976
Node: Exit Status131636
Node: Signals133417
Node: Shell Scripts136863
Node: Shell Builtin Commands139887
Node: Bourne Shell Builtins141922
Node: Bash Builtins164253
Node: Modifying Shell Behavior196249
Node: The Set Builtin196591
Node: The Shopt Builtin207186
Node: Special Builtins223095
Node: Shell Variables224071
Node: Bourne Shell Variables224505
Node: Bash Variables226606
Node: Bash Features260668
Node: Invoking Bash261678
Node: Bash Startup Files267688
Node: Interactive Shells272816
Node: What is an Interactive Shell?273224
Node: Is this Shell Interactive?273870
Node: Interactive Shell Behavior274682
Node: Bash Conditional Expressions278308
Node: Shell Arithmetic282947
Node: Aliases285905
Node: Arrays288796
Node: The Directory Stack295356
Node: Directory Stack Builtins296137
Node: Controlling the Prompt300394
Node: The Restricted Shell303356
Node: Bash POSIX Mode305963
Node: Shell Compatibility Mode321753
Node: Job Control329994
Node: Job Control Basics330451
Node: Job Control Builtins335450
Node: Job Control Variables341242
Node: Command Line Editing342395
Node: Introduction and Notation344063
Node: Readline Interaction345683
Node: Readline Bare Essentials346871
Node: Readline Movement Commands348657
Node: Readline Killing Commands349614
Node: Readline Arguments351532
Node: Searching352573
Node: Readline Init File354756
Node: Readline Init File Syntax356014
Node: Conditional Init Constructs379802
Node: Sample Init File383995
Node: Bindable Readline Commands387116
Node: Commands For Moving388317
Node: Commands For History390365
Node: Commands For Text395356
Node: Commands For Killing399002
Node: Numeric Arguments402032
Node: Commands For Completion403168
Node: Keyboard Macros407356
Node: Miscellaneous Commands408041
Node: Readline vi Mode414076
Node: Programmable Completion414980
Node: Programmable Completion Builtins422757
Node: A Programmable Completion Example433742
Node: Using History Interactively438987
Node: Bash History Facilities439668
Node: Bash History Builtins442670
Node: History Interaction447691
Node: Event Designators451308
Node: Word Designators452659
Node: Modifiers454416
Node: Installing Bash456221
Node: Basic Installation457355
Node: Compilers and Options461074
Node: Compiling For Multiple Architectures461812
Node: Installation Names463501
Node: Specifying the System Type465607
Node: Sharing Defaults466321
Node: Operation Controls466991
Node: Optional Features467946
Node: Reporting Bugs479162
Node: Major Differences From The Bourne Shell480493
Node: GNU Free Documentation License497339
Node: Indexes522513
Node: Builtin Index522964
Node: Reserved Word Index530062
Node: Variable Index532507
Node: Function Index549492
Node: Concept Index563273
Node: Top886
Node: Introduction2795
Node: What is Bash?3008
Node: What is a shell?4119
Node: Definitions6654
Node: Basic Shell Features9602
Node: Shell Syntax10818
Node: Shell Operation11841
Node: Quoting13131
Node: Escape Character14432
Node: Single Quotes14914
Node: Double Quotes15259
Node: ANSI-C Quoting16534
Node: Locale Translation17843
Node: Creating Internationalized Scripts19151
Node: Comments23265
Node: Shell Commands23880
Node: Reserved Words24815
Node: Simple Commands25568
Node: Pipelines26219
Node: Lists29215
Node: Compound Commands31007
Node: Looping Constructs32016
Node: Conditional Constructs34508
Node: Command Grouping48993
Node: Coprocesses50468
Node: GNU Parallel53128
Node: Shell Functions54042
Node: Shell Parameters61924
Node: Positional Parameters66309
Node: Special Parameters67208
Node: Shell Expansions70419
Node: Brace Expansion72543
Node: Tilde Expansion75274
Node: Shell Parameter Expansion77892
Node: Command Substitution96291
Node: Arithmetic Expansion99752
Node: Process Substitution100717
Node: Word Splitting101834
Node: Filename Expansion103879
Node: Pattern Matching106809
Node: Quote Removal111808
Node: Redirections112100
Node: Executing Commands121790
Node: Simple Command Expansion122457
Node: Command Search and Execution124564
Node: Command Execution Environment126948
Node: Environment129980
Node: Exit Status131640
Node: Signals133421
Node: Shell Scripts136867
Node: Shell Builtin Commands139891
Node: Bourne Shell Builtins141926
Node: Bash Builtins164257
Node: Modifying Shell Behavior196253
Node: The Set Builtin196595
Node: The Shopt Builtin207190
Node: Special Builtins223194
Node: Shell Variables224170
Node: Bourne Shell Variables224604
Node: Bash Variables226705
Node: Bash Features260767
Node: Invoking Bash261777
Node: Bash Startup Files267787
Node: Interactive Shells272915
Node: What is an Interactive Shell?273323
Node: Is this Shell Interactive?273969
Node: Interactive Shell Behavior274781
Node: Bash Conditional Expressions278407
Node: Shell Arithmetic283046
Node: Aliases286004
Node: Arrays288895
Node: The Directory Stack295455
Node: Directory Stack Builtins296236
Node: Controlling the Prompt300493
Node: The Restricted Shell303455
Node: Bash POSIX Mode306062
Node: Shell Compatibility Mode321852
Node: Job Control330093
Node: Job Control Basics330550
Node: Job Control Builtins335549
Node: Job Control Variables341341
Node: Command Line Editing342494
Node: Introduction and Notation344162
Node: Readline Interaction345782
Node: Readline Bare Essentials346970
Node: Readline Movement Commands348756
Node: Readline Killing Commands349713
Node: Readline Arguments351631
Node: Searching352672
Node: Readline Init File354855
Node: Readline Init File Syntax356113
Node: Conditional Init Constructs379901
Node: Sample Init File384094
Node: Bindable Readline Commands387215
Node: Commands For Moving388416
Node: Commands For History390464
Node: Commands For Text395455
Node: Commands For Killing399101
Node: Numeric Arguments402131
Node: Commands For Completion403267
Node: Keyboard Macros407455
Node: Miscellaneous Commands408140
Node: Readline vi Mode414175
Node: Programmable Completion415079
Node: Programmable Completion Builtins422856
Node: A Programmable Completion Example433841
Node: Using History Interactively439086
Node: Bash History Facilities439767
Node: Bash History Builtins442769
Node: History Interaction447790
Node: Event Designators451407
Node: Word Designators452758
Node: Modifiers454515
Node: Installing Bash456320
Node: Basic Installation457454
Node: Compilers and Options461173
Node: Compiling For Multiple Architectures461911
Node: Installation Names463600
Node: Specifying the System Type465706
Node: Sharing Defaults466420
Node: Operation Controls467090
Node: Optional Features468045
Node: Reporting Bugs479261
Node: Major Differences From The Bourne Shell480592
Node: GNU Free Documentation License497438
Node: Indexes522612
Node: Builtin Index523063
Node: Reserved Word Index530161
Node: Variable Index532606
Node: Function Index549591
Node: Concept Index563372

End Tag Table