ユーザ用ツール

サイト用ツール


サイドバー

最新の10件
一覧
unix:shellscript

ShellCheck

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

参考にしながら脱Bashismしたり

コメント

コメントを入力. Wiki文法が有効です:
   _  __   __ __  ____    _  __  _____
  / |/ /  / //_/ / __ \  | |/_/ / ___/
 /    /  / ,<   / /_/ / _>  <  / (_ / 
/_/|_/  /_/|_|  \___\_\/_/|_|  \___/
 
unix/shellscript.txt · 最終更新: 2021/04/04 22:17 by matoken