ShellCheck v0.4.2 Release Notes

Release Date: 2016-01-09 // over 8 years ago
  • โž• Added

    • ๐Ÿ‘ First class support for the dash shell
    • The --color flag similar to ls/grep's (thanks, haguenau!)
    • SC2174: Warn about unexpected behavior of mkdir -pm (thanks, eatnumber1!)
    • ๐Ÿšฆ SC2172: Warn about non-portable use of signal numbers in trap
    • SC2171: Warn about ]] without leading [[
    • SC2168: Warn about local outside functions

    ๐Ÿ›  Fixed

    • โš  Warnings about unchecked cd will no longer trigger with set -e
    • [ a -nt/-ot/-ef b ] no longer warns about being constant
    • โœ… Quoted test operators like [ foo "<" bar ] now parse
    • ๐Ÿ“œ Escaped quotes in backticks now parse correctly