mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-11-17 12:30:01 +01:00
preserve traps across a failed exec; small changes to how completion options interact; fix a bug with arithmetic for commands and LINENO
This commit is contained in:
1 parent
f74291e6d1
commit
304b1e938c
15 files changed
+228
-16
No files matched your search
@@ -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