$ echo ' > ${a+$(|)} bash: command substitution: line 7: syntax error near unexpected token `|' bash: command substitution: line 7: `|)}' bash: unexpected EOF while looking for matching `)' >
Reproducible on devel, 5.1.4, and 5.0.17, but the latter handles it better. And while testing this on devel, I came across another one: $ echo $BASH_VERSIbash: xmalloc: stringvec.c:40: cannot allocate 15227146888 bytes (2510848 bytes allocated) $ $ echo $BASH_VERSIOSegmentation fault (core dumped) $ I hit tab a few times to get the segfault. Oğuz