sh v2.3.0 Release Notes

Release Date: 2018-03-07 // about 6 years ago
  • Highlights:

    • syntax
      • Case clause patterns are no longer forced on a single line
      • Add ExpandBraces, to perform Bash brace expansion on words
      • Improve the handling of backslashes within backquotes
      • Improve the parsing of Bash test regexes
    • interp
      • Support $DIRSTACK, ${param[@]#word}, and ${param,word}
    • cmd/shfmt
      • Add -d, to display diffs when formatting differs
      • Promote -exp.tojson to -tojson
      • Add Pos and End fields to nodes in -tojson
      • Inline StmtList fields to simplify the -tojson output
      • Support -l on standard input