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

You really, really should use 'set -e' which will exit if there are any errors. Otherwise if 'bar' doesn't exist, you'll 'do something' in a wrong directory and frobnicate something you didn't want frobnicated.


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

Search: