mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-11 04:30:44 +02:00
fix for parameter length expressions for nameref variables expanding to invalid identifiers
This commit is contained in:
@@ -558,3 +558,14 @@ declare -ai a=([0]="0" [1]="16")
|
||||
12
|
||||
16
|
||||
declare -ai a=([0]="0" [1]="16")
|
||||
./nameref24.sub: line 24: declare: `': not a valid identifier
|
||||
./nameref24.sub: line 25: declare: `a&b': invalid variable name for name reference
|
||||
3
|
||||
3
|
||||
0
|
||||
0
|
||||
0
|
||||
./nameref24.sub: line 38: declare: `aa&bb': invalid variable name for name reference
|
||||
3
|
||||
3
|
||||
5
|
||||
|
||||
Reference in New Issue
Block a user