Bash-4.3 distribution sources and documentation
This commit is contained in:
parent
4539d736f1
commit
ac50fbac37
497 changed files with 129395 additions and 87598 deletions
16
tests/assoc7.sub
Normal file
16
tests/assoc7.sub
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# problem with bash versions through bash-4.2
|
||||
foo()
|
||||
{
|
||||
declare -A hash
|
||||
declare hash[baz]=bar #bash crashes here
|
||||
|
||||
echo ${hash[@]}
|
||||
}
|
||||
|
||||
foo
|
||||
|
||||
declare -a ary
|
||||
printf -v ary[0] "%b" ""
|
||||
echo "after printf"
|
||||
x="${ary[*]}" # segfaults here
|
||||
echo "after use: $?"
|
||||
Loading…
Add table
Add a link
Reference in a new issue