On 30/09/2022, Emanuele Torre <torreemanue...@gmail.com> wrote: > In bash-5.2, using the ${parameter@Q} parameter expansion with an unset > parameter, in an array subscript, in an arithmetic context, causes a > segmentation fault.
Actually, using any parameter expansion with an unset parameter in an array subscript causes a segmentation fault: bash-5.2$ ($[x[${a#}]]) Segmentation fault (core dumped) I forgot to mention that I was able to reproduce this in both the latest bash release version ( 5.2.0(1)-release ), and the version of the most recent commit on the devel branch ( e6dc31ac13b8794be62571bca654303cd6a84516 ). emanuele6