Hacker News new | past | comments | ask | show | jobs | submit login

Use "set -ue -o pipefail" at beginning of the shell script for "strict mode". Use "bash-modules" library, which is designed for strict mode. Always quote variables unless you really want them to be parsed by bash.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: