Unofficial Bash Strict Mode (Unless You Looove Debugging)

anuncio de servicio público:

Let’s start with the punchline. Your bash scripts will be more robust, reliable and maintainable if you start them like this:

#!/bin/bash
set -euo pipefail
IFS=$'\n\t'

http://redsymbol.net/articles/unofficial-bash-strict-mode/

3 Me gusta

Muy bueno!

1 me gusta