====== bash ====== * [[http://www.gnu.org/software/bash/|Bash website]] * [[http://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html|Bash Manual]] * [[https://tldp.org/LDP/abs/html/|Advanced Bash-Scripting Guide]] * [[https://askubuntu.com/questions/385528/how-to-increment-a-variable-in-bash | How to increment a variable in bash?]] * [[https://unix.stackexchange.com/questions/29845/how-can-i-do-a-copy-if-changed-operation | How can I do a "copy if changed" operation?]] {{simplenavi>pages:howtos:bash}} #!/bin/bash set -eEu -o pipefail shopt -s failglob trap 'echo >&2 "${BASH_SOURCE:-$0}:${LINENO}: unknown error"' ERR