x=("/"); y=("${x[@]%/}"); echo "x size: ${#x[@]}, y size: ${#y[@]}"
Goal of this example show that it is not only for loop issue.
Alexey via Bug reports for the GNU Bourne Again SHell Mon, 21 Mar 2022 05:50:33 -0700
x=("/"); y=("${x[@]%/}"); echo "x size: ${#x[@]}, y size: ${#y[@]}"
Goal of this example show that it is not only for loop issue.