New comment by classabbyamp on void-packages repository https://github.com/void-linux/void-packages/pull/42656#issuecomment-1459930695 Comment: > I haven't checked if there's any convenient mechanism for concatenating arrays for the same array, just `foo+=(new_element)`, for different: ```bash $ foo=(foo bar baz) $ bar=("${foo[@]}" idk) $ declare -p foo declare -a foo=([0]="foo" [1]="bar" [2]="baz") $ declare -p bar declare -a bar=([0]="foo" [1]="bar" [2]="baz" [3]="idk") ```