commit bash-20051215 snapshot

This commit is contained in:
Chet Ramey
2011-12-03 22:43:09 -05:00
parent af12dacd16
commit 5e4a95c794
20 changed files with 15364 additions and 4056 deletions
+6 -4
View File
@@ -137,6 +137,8 @@ value = new1 new2 new3
7 8 9
8 11
8 11
a b c d e f g
for case if then else
@@ -144,10 +146,10 @@ for case if then else
12 14 16 18 20
4414758999202
aaa bbb
./array.tests: line 282: syntax error near unexpected token `<>'
./array.tests: line 282: `metas=( <> < > ! )'
./array.tests: line 283: syntax error near unexpected token `<>'
./array.tests: line 283: `metas=( [1]=<> [2]=< [3]=> [4]=! )'
./array.tests: line 285: syntax error near unexpected token `<>'
./array.tests: line 285: `metas=( <> < > ! )'
./array.tests: line 286: syntax error near unexpected token `<>'
./array.tests: line 286: `metas=( [1]=<> [2]=< [3]=> [4]=! )'
abc 3
case 4
abc case if then else 5
+3
View File
@@ -242,6 +242,9 @@ ${THIS_SH} ./array2.sub
# some old bugs and ksh93 compatibility tests
${THIS_SH} ./array3.sub
# some compound assingment parsing problems that showed up in bash-3.1-release
${THIS_SH} ./array4.sub
set +u
cd /tmp
+20
View File
@@ -0,0 +1,20 @@
# compound assignment parsing problems in bash-3.1-release
func()
{
local -a x=() y=()
}
a=() b=()
eval foo=()
eval foo=() bar=() qux=( "bash" )
foo=( "bash" )
eval foo=( "bash" )
eval bar=( "bash" ) bax=( "bash" )
let a=(5 + 3) b=(4 + 7)
echo $a $b
typeset -i a b
a=(5+3) b=(4+7)
echo $a $b