mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-06-22 05:17:59 +02:00
21 lines
297 B
Plaintext
21 lines
297 B
Plaintext
# 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
|