On 8/29/15 2:40 AM, isabella parakiss wrote:
> In the devel branch, setting IFS=\' seems to break @Q:
It actually causes a lot more than that to misbehave, and has for a
very long time. It looks like "'" is an uncommon IFS value. This
will be fixed for the next bash-4.4 testing release.
--
``T
In the devel branch, setting IFS=\' seems to break @Q:
$ arr=(a b c)
$ echo ${arr[@]@Q} | sed -n l
'a' 'b' 'c'$ <- correct
$ echo "${arr[@]@Q}" | sed -n l
'a' 'b' 'c'$ <- correct
$ IFS=\'
$ echo ${arr[@]@Q} | sed -n l
a b c$