On 4/4/17 7:54 PM, Grisha Levit wrote:
> Given:
>
> set -- $'\t'; IFS=$1 A=$1 # or set -- $'\n'
>
> These all segfault (in different places with -DDEBUG)
>
> : ${x-$@}
> [[ $@ ]]
> : ${x-${A[@]}}
> [[ ${A[@]} ]]
Thanks for the report. This was a little bit tricker to fix than I thought
it would be.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/
