commit bash-20130720 snapshot

This commit is contained in:
Chet Ramey
2013-08-05 09:55:44 -04:00
parent fc34b3a446
commit 7571d3f4bb
30 changed files with 19987 additions and 588 deletions
+24
View File
@@ -0,0 +1,24 @@
# fixes for make_internal_declare not handling integer attribute for arrays
declare -ai -g foo=(1 2 xx 3)
echo "${foo[@]}"
unset foo
declare -ai -g foo='(1 2 xx 3)'
echo "${foo[@]}"
unset foo
declare -ia -g foo=(1 2 xx 3)
echo "${foo[@]}"
unset foo
declare -ia -g foo='(1 2 xx 3)'
echo "${foo[@]}"
unset foo
func()
{
declare -ai -g foo=(1 2 xx 3)
}
func
echo "${foo[@]}"