bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash Manual section 6.7 Arrays should mention array append notation


From: Chet Ramey
Subject: Re: Bash Manual section 6.7 Arrays should mention array append notation
Date: Thu, 24 Mar 2022 15:46:07 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

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    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]