Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Or use shellcheck: https://www.shellcheck.net/


Tl;dr: Use both because they aren't mutex.

Shellcheck isn't a complete solution, and running -e mode is essential to smaller bash files. Shellcheck even knows if a script is in -e mode or not.




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

Search: