mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 11:19:45 +08:00
remove the endnote about #1556 — the issue is closed as completed on Jul 26, 2021
@@ -82,6 +82,4 @@ While this runs fine in other shells, [dash doesn't treat any of these as assign
|
||||
local: 2: bad variable name
|
||||
export: 2: bad variable name
|
||||
```
|
||||
The direct workaround to this bug is to quote the right-hand-side of the assignment. Separating declaraction and assignment also makes this runs fine in any shell.
|
||||
|
||||
(A rule to catch this problem is in the works at [#1556](https://github.com/koalaman/shellcheck/issues/1556)).
|
||||
The direct workaround to this bug is to quote the right-hand-side of the assignment. Separating declaraction and assignment also makes this runs fine in any shell.
|
Reference in New Issue
Block a user