mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-06 03:40:50 +02:00
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:
+144
-141
@@ -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, 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.
|
||||
@@ -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, 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
|
||||
@@ -4847,12 +4847,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
|
||||
@@ -12768,138 +12771,138 @@ D.5 Concept Index
|
||||
|
||||
|
||||
Tag Table:
|
||||
Node: Top887
|
||||
Node: Introduction2797
|
||||
Node: What is Bash?3013
|
||||
Node: What is a shell?4127
|
||||
Node: Definitions6665
|
||||
Node: Basic Shell Features9616
|
||||
Node: Shell Syntax10835
|
||||
Node: Shell Operation11861
|
||||
Node: Quoting13154
|
||||
Node: Escape Character14458
|
||||
Node: Single Quotes14943
|
||||
Node: Double Quotes15291
|
||||
Node: ANSI-C Quoting16569
|
||||
Node: Locale Translation17881
|
||||
Node: Creating Internationalized Scripts19192
|
||||
Node: Comments23309
|
||||
Node: Shell Commands23927
|
||||
Node: Reserved Words24865
|
||||
Node: Simple Commands25621
|
||||
Node: Pipelines26275
|
||||
Node: Lists29274
|
||||
Node: Compound Commands31069
|
||||
Node: Looping Constructs32081
|
||||
Node: Conditional Constructs34576
|
||||
Node: Command Grouping49064
|
||||
Node: Coprocesses50542
|
||||
Node: GNU Parallel53205
|
||||
Node: Shell Functions54122
|
||||
Node: Shell Parameters62007
|
||||
Node: Positional Parameters66395
|
||||
Node: Special Parameters67297
|
||||
Node: Shell Expansions70511
|
||||
Node: Brace Expansion72638
|
||||
Node: Tilde Expansion75372
|
||||
Node: Shell Parameter Expansion77993
|
||||
Node: Command Substitution96395
|
||||
Node: Arithmetic Expansion99859
|
||||
Node: Process Substitution100827
|
||||
Node: Word Splitting101947
|
||||
Node: Filename Expansion103995
|
||||
Node: Pattern Matching106928
|
||||
Node: Quote Removal111930
|
||||
Node: Redirections112225
|
||||
Node: Executing Commands121918
|
||||
Node: Simple Command Expansion122588
|
||||
Node: Command Search and Execution124698
|
||||
Node: Command Execution Environment127085
|
||||
Node: Environment130120
|
||||
Node: Exit Status131783
|
||||
Node: Signals133567
|
||||
Node: Shell Scripts137016
|
||||
Node: Shell Builtin Commands140043
|
||||
Node: Bourne Shell Builtins142081
|
||||
Node: Bash Builtins164415
|
||||
Node: Modifying Shell Behavior196414
|
||||
Node: The Set Builtin196759
|
||||
Node: The Shopt Builtin207357
|
||||
Node: Special Builtins223269
|
||||
Node: Shell Variables224248
|
||||
Node: Bourne Shell Variables224685
|
||||
Node: Bash Variables226789
|
||||
Node: Bash Features260854
|
||||
Node: Invoking Bash261867
|
||||
Node: Bash Startup Files267880
|
||||
Node: Interactive Shells273011
|
||||
Node: What is an Interactive Shell?273422
|
||||
Node: Is this Shell Interactive?274071
|
||||
Node: Interactive Shell Behavior274886
|
||||
Node: Bash Conditional Expressions278515
|
||||
Node: Shell Arithmetic283157
|
||||
Node: Aliases286118
|
||||
Node: Arrays289012
|
||||
Node: The Directory Stack295575
|
||||
Node: Directory Stack Builtins296359
|
||||
Node: Controlling the Prompt300619
|
||||
Node: The Restricted Shell303584
|
||||
Node: Bash POSIX Mode306194
|
||||
Node: Shell Compatibility Mode321987
|
||||
Node: Job Control330231
|
||||
Node: Job Control Basics330691
|
||||
Node: Job Control Builtins335693
|
||||
Node: Job Control Variables341488
|
||||
Node: Command Line Editing342644
|
||||
Node: Introduction and Notation344315
|
||||
Node: Readline Interaction345938
|
||||
Node: Readline Bare Essentials347129
|
||||
Node: Readline Movement Commands348918
|
||||
Node: Readline Killing Commands349878
|
||||
Node: Readline Arguments351799
|
||||
Node: Searching352843
|
||||
Node: Readline Init File355029
|
||||
Node: Readline Init File Syntax356290
|
||||
Node: Conditional Init Constructs380081
|
||||
Node: Sample Init File384277
|
||||
Node: Bindable Readline Commands387401
|
||||
Node: Commands For Moving388605
|
||||
Node: Commands For History390656
|
||||
Node: Commands For Text395650
|
||||
Node: Commands For Killing399299
|
||||
Node: Numeric Arguments402332
|
||||
Node: Commands For Completion403471
|
||||
Node: Keyboard Macros407662
|
||||
Node: Miscellaneous Commands408350
|
||||
Node: Readline vi Mode414388
|
||||
Node: Programmable Completion415295
|
||||
Node: Programmable Completion Builtins423075
|
||||
Node: A Programmable Completion Example434063
|
||||
Node: Using History Interactively439311
|
||||
Node: Bash History Facilities439995
|
||||
Node: Bash History Builtins443000
|
||||
Node: History Interaction448024
|
||||
Node: Event Designators451644
|
||||
Node: Word Designators452998
|
||||
Node: Modifiers454758
|
||||
Node: Installing Bash456566
|
||||
Node: Basic Installation457703
|
||||
Node: Compilers and Options461425
|
||||
Node: Compiling For Multiple Architectures462166
|
||||
Node: Installation Names463858
|
||||
Node: Specifying the System Type465967
|
||||
Node: Sharing Defaults466684
|
||||
Node: Operation Controls467357
|
||||
Node: Optional Features468315
|
||||
Node: Reporting Bugs479534
|
||||
Node: Major Differences From The Bourne Shell480868
|
||||
Node: GNU Free Documentation License497717
|
||||
Node: Indexes522894
|
||||
Node: Builtin Index523348
|
||||
Node: Reserved Word Index530449
|
||||
Node: Variable Index532897
|
||||
Node: Function Index549885
|
||||
Node: Concept Index563669
|
||||
Node: Top889
|
||||
Node: Introduction2801
|
||||
Node: What is Bash?3017
|
||||
Node: What is a shell?4131
|
||||
Node: Definitions6669
|
||||
Node: Basic Shell Features9620
|
||||
Node: Shell Syntax10839
|
||||
Node: Shell Operation11865
|
||||
Node: Quoting13158
|
||||
Node: Escape Character14462
|
||||
Node: Single Quotes14947
|
||||
Node: Double Quotes15295
|
||||
Node: ANSI-C Quoting16573
|
||||
Node: Locale Translation17885
|
||||
Node: Creating Internationalized Scripts19196
|
||||
Node: Comments23313
|
||||
Node: Shell Commands23931
|
||||
Node: Reserved Words24869
|
||||
Node: Simple Commands25625
|
||||
Node: Pipelines26279
|
||||
Node: Lists29278
|
||||
Node: Compound Commands31073
|
||||
Node: Looping Constructs32085
|
||||
Node: Conditional Constructs34580
|
||||
Node: Command Grouping49068
|
||||
Node: Coprocesses50546
|
||||
Node: GNU Parallel53209
|
||||
Node: Shell Functions54126
|
||||
Node: Shell Parameters62011
|
||||
Node: Positional Parameters66399
|
||||
Node: Special Parameters67301
|
||||
Node: Shell Expansions70515
|
||||
Node: Brace Expansion72642
|
||||
Node: Tilde Expansion75376
|
||||
Node: Shell Parameter Expansion77997
|
||||
Node: Command Substitution96399
|
||||
Node: Arithmetic Expansion99863
|
||||
Node: Process Substitution100831
|
||||
Node: Word Splitting101951
|
||||
Node: Filename Expansion103999
|
||||
Node: Pattern Matching106932
|
||||
Node: Quote Removal111934
|
||||
Node: Redirections112229
|
||||
Node: Executing Commands121922
|
||||
Node: Simple Command Expansion122592
|
||||
Node: Command Search and Execution124702
|
||||
Node: Command Execution Environment127089
|
||||
Node: Environment130124
|
||||
Node: Exit Status131787
|
||||
Node: Signals133571
|
||||
Node: Shell Scripts137020
|
||||
Node: Shell Builtin Commands140047
|
||||
Node: Bourne Shell Builtins142085
|
||||
Node: Bash Builtins164419
|
||||
Node: Modifying Shell Behavior196418
|
||||
Node: The Set Builtin196763
|
||||
Node: The Shopt Builtin207361
|
||||
Node: Special Builtins223368
|
||||
Node: Shell Variables224347
|
||||
Node: Bourne Shell Variables224784
|
||||
Node: Bash Variables226888
|
||||
Node: Bash Features260953
|
||||
Node: Invoking Bash261966
|
||||
Node: Bash Startup Files267979
|
||||
Node: Interactive Shells273110
|
||||
Node: What is an Interactive Shell?273521
|
||||
Node: Is this Shell Interactive?274170
|
||||
Node: Interactive Shell Behavior274985
|
||||
Node: Bash Conditional Expressions278614
|
||||
Node: Shell Arithmetic283256
|
||||
Node: Aliases286217
|
||||
Node: Arrays289111
|
||||
Node: The Directory Stack295674
|
||||
Node: Directory Stack Builtins296458
|
||||
Node: Controlling the Prompt300718
|
||||
Node: The Restricted Shell303683
|
||||
Node: Bash POSIX Mode306293
|
||||
Node: Shell Compatibility Mode322086
|
||||
Node: Job Control330330
|
||||
Node: Job Control Basics330790
|
||||
Node: Job Control Builtins335792
|
||||
Node: Job Control Variables341587
|
||||
Node: Command Line Editing342743
|
||||
Node: Introduction and Notation344414
|
||||
Node: Readline Interaction346037
|
||||
Node: Readline Bare Essentials347228
|
||||
Node: Readline Movement Commands349017
|
||||
Node: Readline Killing Commands349977
|
||||
Node: Readline Arguments351898
|
||||
Node: Searching352942
|
||||
Node: Readline Init File355128
|
||||
Node: Readline Init File Syntax356389
|
||||
Node: Conditional Init Constructs380180
|
||||
Node: Sample Init File384376
|
||||
Node: Bindable Readline Commands387500
|
||||
Node: Commands For Moving388704
|
||||
Node: Commands For History390755
|
||||
Node: Commands For Text395749
|
||||
Node: Commands For Killing399398
|
||||
Node: Numeric Arguments402431
|
||||
Node: Commands For Completion403570
|
||||
Node: Keyboard Macros407761
|
||||
Node: Miscellaneous Commands408449
|
||||
Node: Readline vi Mode414487
|
||||
Node: Programmable Completion415394
|
||||
Node: Programmable Completion Builtins423174
|
||||
Node: A Programmable Completion Example434162
|
||||
Node: Using History Interactively439410
|
||||
Node: Bash History Facilities440094
|
||||
Node: Bash History Builtins443099
|
||||
Node: History Interaction448123
|
||||
Node: Event Designators451743
|
||||
Node: Word Designators453097
|
||||
Node: Modifiers454857
|
||||
Node: Installing Bash456665
|
||||
Node: Basic Installation457802
|
||||
Node: Compilers and Options461524
|
||||
Node: Compiling For Multiple Architectures462265
|
||||
Node: Installation Names463957
|
||||
Node: Specifying the System Type466066
|
||||
Node: Sharing Defaults466783
|
||||
Node: Operation Controls467456
|
||||
Node: Optional Features468414
|
||||
Node: Reporting Bugs479633
|
||||
Node: Major Differences From The Bourne Shell480967
|
||||
Node: GNU Free Documentation License497816
|
||||
Node: Indexes522993
|
||||
Node: Builtin Index523447
|
||||
Node: Reserved Word Index530548
|
||||
Node: Variable Index532996
|
||||
Node: Function Index549984
|
||||
Node: Concept Index563768
|
||||
|
||||
End Tag Table
|
||||
|
||||
|
||||
Reference in New Issue
Block a user