On 3/24/22 11:12 AM, Zachary Santer wrote:
I'm consulting the online manual
<https://www.gnu.org/software/bash/manual/html_node/index.html>, so if
you're looking for a version number, that would be 5.1.
I just now looked at doc/bash.pdf in the git repo on Savannah. No info on
appending is present under bash-5.2-testing or devel.
You're looking at two different manuals.
The current doc/bashref.texi contains:
"The @samp{+=} operator will append to a array variable when assigning
using the compound assignment syntax; see @ref{Shell Parameters} above."
The current doc/bash.1 contains:
The += operator will append to a array variable when assigning
using the compound assignment syntax; see
.SM
.B PARAMETERS
above.
It's not useful to have more than a reference to the actual description,
where the rest of the variable assignment syntax is described, in the
section on arrays.
I don't regenerate the printed manuals on every devel branch push. You need
to look at the manual source files.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/