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