@b0rk_reruns While using set -euo pipefail will make bash a bit saner, real solution is to switch to real programming language. Python is often suitable choice.
@pavel@b0rk_reruns That’s not always a good or sane choice. Bash is highly portable as it exists on nearly all non-windows platforms by default. Not true of Python.