mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-06-29 00:19:51 +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:
+12
-7
@@ -4,9 +4,9 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<!-- This text is a brief description of the features that are present in
|
||||
the Bash shell (version 5.2, 23 May 2023).
|
||||
the Bash shell (version 5.2, 13 June 2023).
|
||||
|
||||
This is Edition 5.2, last updated 23 May 2023,
|
||||
This is Edition 5.2, last updated 13 June 2023,
|
||||
of The GNU Bash Reference Manual,
|
||||
for Bash, Version 5.2.
|
||||
|
||||
@@ -77,10 +77,10 @@ Next: <a href="#Introduction" accesskey="n" rel="next">Introduction</a>, Previou
|
||||
<span id="Bash-Features-1"></span><h1 class="top">Bash Features</h1>
|
||||
|
||||
<p>This text is a brief description of the features that are present in
|
||||
the Bash shell (version 5.2, 23 May 2023).
|
||||
the Bash shell (version 5.2, 13 June 2023).
|
||||
The Bash home page is <a href="http://www.gnu.org/software/bash/">http://www.gnu.org/software/bash/</a>.
|
||||
</p>
|
||||
<p>This is Edition 5.2, last updated 23 May 2023,
|
||||
<p>This is Edition 5.2, last updated 13 June 2023,
|
||||
of <cite>The GNU Bash Reference Manual</cite>,
|
||||
for <code>Bash</code>, Version 5.2.
|
||||
</p>
|
||||
@@ -6374,13 +6374,18 @@ option.
|
||||
</p>
|
||||
<p>The list of <code>shopt</code> options is:
|
||||
</p><dl compact="compact">
|
||||
<dt><span><code>assoc_expand_once</code></span></dt>
|
||||
<dd><p>If set, the shell suppresses multiple evaluation of associative array
|
||||
subscripts during arithmetic expression evaluation, while executing
|
||||
<dt><span><code>array_expand_once</code></span></dt>
|
||||
<dd><p>If set, the shell suppresses multiple evaluation of
|
||||
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.
|
||||
</p>
|
||||
</dd>
|
||||
<dt><span><code>assoc_expand_once</code></span></dt>
|
||||
<dd><p>Deprecated; a synonym for <code>array_expand_once</code>.
|
||||
</p>
|
||||
</dd>
|
||||
<dt><span><code>autocd</code></span></dt>
|
||||
<dd><p>If set, a command name that is the name of a directory is executed as if
|
||||
it were the argument to the <code>cd</code> command.
|
||||
|
||||
Reference in New Issue
Block a user