v2.6.2
Highlights:
- syntax
- Avoid premature reads in
Parser.Interactive
when parsing Unicode bytes - Fix parsing of certain Bash test expression involving newlines
Redirect.End
now takes theHdoc
field into accountValidName
now returnsfalse
for an empty string
- Avoid premature reads in
- expand
- Environment variables on Windows are case insensitive again
- interp
- Don't crash on
declare $unset=foo
- Fix a regression where executed programs would receive a broken environment
- Don't crash on
Note that the published Docker image was changed to set shfmt
as the entrypoint, so previous uses with arguments like docker run mvdan/shfmt:v2.6.1 shfmt --version
should now be docker run mvdan/shfmt:v2.6.2 --version
.
Binaries built on go version go1.11.2 linux/amd64
.