Hacker News new | past | comments | ask | show | jobs | submit login
Bash scripting quirks and safety tips (jvns.ca)
19 points by frostmatthew on March 27, 2017 | hide | past | favorite | 3 comments




> You can also write while loops but I never do that

At least 90% of all shell scripts I've written included a "while read line" loop


Includes more ideas than just the Bash unofficial strict mode.




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

Search: