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 the Hdoc field into account
      • ValidName now returns false for an empty string
    • 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

    🐳 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.