On 2/17/15 5:46 PM, Eduardo A. Bustamante López wrote: > You're reporting the behavior of the master branch, but it seems to > be already fixed in devel. I'm not sure about the inconsistency > between: > | "$bash" -c 'declare -a a="()"; declare -p a' > and > | "$bash" -c 'f(){ declare -a a="()"; declare -p a; }; f' > > IMO these two should have the same behaviour. Chet will be able to > clarify this.
Thanks for the prompt; this is something that was waiting for me to bump the version number and use a check for the shell compatibility level. It will be fixed in the next git push for the devel branch. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/