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:
Chet Ramey
2021-10-11 10:38:16 -04:00
parent f74291e6d1
commit 304b1e938c
15 changed files with 228 additions and 16 deletions
+2
View File
@@ -381,6 +381,8 @@ strlen(4four) = 5
1 2 0 3
1 2 0 3
1 2 0 3
declare -ai arr=([0]="2" [1]="4" [2]="6")
declare -a arr=([0]="hello" [1]="world")
foo index 1: ok
foo index 2: ok
foo: implicit reference to element 0: ok