sh v2.6.2 Release Notes
Release Date: 2018-12-08 // over 5 years ago-
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 likedocker run mvdan/shfmt:v2.6.1 shfmt --version
should now bedocker run mvdan/shfmt:v2.6.2 --version
.🐧 Binaries built on
go version go1.11.2 linux/amd64
. - syntax