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

I typically put "set -o nounset" at the top of my Bash scripts.


My solution is to always install safe-rm. It prevents a lot of dumb deletes.




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

Search: