|
| From: | Grisha Levit |
| Subject: | segfault evaluating [[ $@ ]] when IFS is \t or \n and $1 == $IFS |
| Date: | Tue, 4 Apr 2017 19:54:10 -0400 |
Given:
set -- $'\t'; IFS=$1 A=$1 # or set -- $'\n'
These all segfault (in different places with -DDEBUG)
: ${x-$@}
[[ $@ ]]
: ${x-${A[@]}}
[[ ${A[@]} ]]
| [Prev in Thread] | Current Thread | [Next in Thread] |