#!/usr/bin/env bash
set -o errexit
set -o pipefail
First line (shebang) tell us which interpreter to use. We recommend using #!/usr/bin/env bash
for portability. Different *nixes put bash
in different places, so using /usr/bin/env
is a workaround to find the first bash
found on the PATH
. (Avoid using sh
)