fix for posix semantics for the := word expansion when assigning array elements

This commit is contained in:
Chet Ramey
2021-12-14 14:18:00 -05:00
parent 567c0bc2ed
commit 5f2dd5ff95
17 changed files with 165 additions and 23 deletions
+8
View File
@@ -409,3 +409,11 @@ cdefg
abcdefg
abcde
abcdefg
foo
declare -- a="foo"
7
declare -i a="7"
42
declare -- a="42"
FOO
declare -u A="FOO"