A shell parser, formatter, and interpreter with bash support; includes shfmt
BSD 3-Clause "New" or "Revised" License
7.2k
stars
340
forks
source link
shfmt throws errors on variable declaration with brace expansion #986
Closed
Popkornium18 closed 1 year ago
A convenient way to set a lot of variables to the same value is this:
However, when shfmt encounters such a statement it prints: "invalid var name".