#!/usr/bin/env bash set -o errexit # always exit on error set -o errtrace # trap errors in functions as well set -o pipefail # don't ignore exit codes when piping output set -o posix # more strict failures in subshells IFS=$'\n\t' ##### RUNNING THE SCRIPT ##### # export FUNCTION =