bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

segfault evaluating [[ $@ ]] when IFS is \t or \n and $1 == $IFS


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[@]} ]]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]