ShellCheck v0.3.3 Release Notes
Release Date: 2014-05-29 // almost 10 years ago-
โ Added
- SC2144: Warn when using globs in
[/[[
- SC2143: Suggesting using
grep -q
over[ "$(.. | grep)" ]
- SC2142: Warn when referencing positional parameters in aliases
- SC2141: Warn about suspicious IFS assignments like
IFS="\n"
- SC2140: Warn about bad embedded quotes like
echo "var="value""
- SC2130: Warn when using
-eq
on strings - SC2139: Warn about define time expansions in alias definitions
- ๐ฒ SC2129: Suggest command grouping over
a >> log; b >> log; c >> log
- SC2128: Warn when expanding arrays without an index
- SC2126: Suggest
grep -c
overgrep|wc
- SC2123: Warn about accidentally overriding
$PATH
, e.g.PATH=/my/dir
- SC1083: Warn about literal
{/}
outside of quotes - SC1082: Warn about UTF-8 BOMs
๐ Fixed
- SC2051 no longer triggers for
{1,$n}
, only{1..$n}
- ๐ Improved detection of single quoted
sed
variables, e.g.sed '$s///'
- โ Stop warning about single quoted variables in
PS1
and similar - ๐ Support for Zsh short form loops,
=(..)
โ Removed
- SC1000 about unescaped lonely
$
, e.g.grep "^foo$"
- SC2144: Warn when using globs in