sh v0.3.0 Release Notes

Release Date: 2016-10-26 // over 7 years ago
  • Highlights:

    • โž• Add support for bash's coproc and extended globbing like @(foo)
    • ๐Ÿ‘Œ Improve test coverage, adding tests to cmd/shfmt and bringing parser and printer close to 100%
    • ๐Ÿ‘Œ Support empty C-style for loops like for ((;;)) ...
    • ๐Ÿ‘Œ Support for the >| redirect operand
    • cmd/shfmt
      • Fix issue where .sh and .bash files might not be walked if running on a directory
      • Fix issue where -p was not obeyed when formatting stdin
    • ๐Ÿ“œ parser
      • $'' now generates an ast.SglQuoted, not an ast.Quoted
      • Support for ambiguous (( like with $((
      • Improve special parameter expansions like $@ or $!
      • Improve bash's export typeset, nameref and readonly
      • <>, >& and <& are valid POSIX
      • Support for bash's ^, ^^, , and ,, operands inside ${}