タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

Bashに関するTakiTakeのブックマーク (1)

  • Bash Strict Mode

    Use Bash Strict Mode (Unless You Love Debugging) Let's start with the punchline. Your bash scripts will be more robust, reliable and maintainable if you start them like this: I call this the unofficial bash strict mode. This causes bash to behave in a way that makes many classes of subtle bugs impossible. You'll spend much less time debugging, and also avoid having unexpected complications in prod

    TakiTake
    TakiTake 2014/07/19
    まずは、頭にこれ書いてエラー検知しやすくする set -euo pipefail IFS=$'\n\t'
  • 1