Bash-4.3 distribution sources and documentation

This commit is contained in:
Chet Ramey
2014-02-26 09:36:43 -05:00
parent 4539d736f1
commit ac50fbac37
497 changed files with 129394 additions and 87597 deletions
+21
View File
@@ -0,0 +1,21 @@
# problems with fix for posix interp 217 introduced in bash-4.2
declare -ax array
array[$(( $( echo -n 1001 ) - 1001 ))]=1
echo ${array[0]}
echo ${array[@]}
unset 'array[0]'
array[$( echo -n 1001 ) - 1001 ]=1
echo ${array[0]}
unset 'array[0]'
array[$(( 1001 - $( echo -n 1001 ) ))]=1
echo ${array[0]}
array[$(( 1001 - $( echo -n 1001 ) ))]=1
echo ${array[0]}
unset 'array[0]'
array[1001 - $( echo -n 1001 )]=1
echo ${array[0]}