SC3010 – ShellCheck Wiki

See this page on GitHub

Sitemap


In POSIX sh, [[ ]] is undefined.

POSIX sh uses [ ] and test instead. To see the limitations/differences, view http://mywiki.wooledge.org/BashFAQ/031


ShellCheck is a static analysis tool for shell scripts. This page is part of its documentation.