mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-03 18:30:49 +02:00
bash-5.2-alpha release
This commit is contained in:
@@ -35,3 +35,18 @@ func()
|
||||
|
||||
func
|
||||
echo "${foo[@]}"
|
||||
|
||||
unset foo
|
||||
|
||||
# test options to declare that disable attributes that affect how values
|
||||
# are expanded
|
||||
#
|
||||
# we already handle options that set attributes specially, so we should
|
||||
# handle attributes that unset those attributes specially as well
|
||||
|
||||
unset arr
|
||||
declare -i -a arr=(1+1 2+2 3+3)
|
||||
declare -p arr
|
||||
|
||||
declare +i arr=(hello world)
|
||||
declare -p arr
|
||||
|
||||
Reference in New Issue
Block a user