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: Zachary Santer
Subject: Re: Bash Manual section 6.7 Arrays should mention array append notation
Date: Thu, 24 Mar 2022 17:15:35 -0400

Thank you.

Also, "append to a array variable" should be "append to an array variable".

Regards,
Zack

On Thu, Mar 24, 2022 at 3:46 PM Chet Ramey <chet.ramey@case.edu> wrote:

> 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]