ShellScriptの文法をチェックして警告と提案をしてくれる
In 2auth-cli.sh line 27: if [ `echo "${1}" | grep -i "${FILTER}"` ] ; then ^-- SC2046: Quote this to prevent word splitting. ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: if [ $(echo "${1}" | grep -i "${FILTER}") ] ; then
参考にしながら脱Bashismしたり
コメント