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

2022-03-24 Thread Chet Ramey
On 3/24/22 5:15 PM, Zachary Santer wrote: Thank you. Also, "append to a array variable" should be "append to an array variable". Thanks. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRUc.

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

2022-03-24 Thread Zachary Santer
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 wrote: > On 3/24/22 11:12 AM, Zachary Santer wrote: > > I'm consulting the online manual > >

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

2022-03-24 Thread Chet Ramey
On 3/24/22 11:12 AM, Zachary Santer wrote: I'm consulting the online manual , 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 presen

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

2022-03-24 Thread Zachary Santer
Neither of Mr. Wooledge's responses made it into my inbox, and they're not in my spam folder, either. I only saw them upon examining the bug-bash Archives, wondering if what I was emailing in was getting there. Thank you, sir, and pardon my misunderstanding. Regards, Zack On Thu, Mar 24, 2022 at

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

2022-03-24 Thread Greg Wooledge
On Thu, Mar 24, 2022 at 11:12:25AM -0400, Zachary Santer wrote: > I'm consulting the online manual > , 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. N

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

2022-03-24 Thread Zachary Santer
I'm consulting the online manual , 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. Regards.

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

2022-03-08 Thread Greg Wooledge
On Tue, Mar 08, 2022 at 10:55:15AM -0500, Zachary Santer wrote: > Talking about the lines with "+=", obviously. I only learned I could > do this when I found it in existing code. It's mentioned in the PARAMETERS section: uated. When += is applied to an array variable using compound assig

Bash Manual section 6.7 Arrays should mention array append notation

2022-03-08 Thread Zachary Santer
$ array=( zero one two ) $ array+=( three four five ) $ declare -p array declare -a array='([0]="zero" [1]="one" [2]="two" [3]="three" [4]="four" [5]="five")' $ array=( [0]=zero [1]=one [2]=two ) $ array+=( [3]=three [4]=four [5]=five ) $ declare -p array declare -a array='([0]="zero" [1]="one" [2]