3 ms·
Author of article here (but not submitter). I wrote this years ago, and it's fun to see it pop up on HN like this every year or two! Here's another bash articl
by redsymbol 9y ago
Author of article here (but not submitter). I wrote this years ago, and it's fun to see it pop up on HN like this every year or two!
Here's another bash article people like:
http://redsymbol.net/articles/unofficial-bash-strict-mode/ http://redsymbol.net/articles/unofficial-bash-strict-mode/
- doyouevensunbro 9y agoBoth are great articles. Thanks!
- tzahola 9y agoIn the past few years, whichever company I was working at, I was relentlessly evangelising the unofficial bash strict mode!
- v_lisivka 9y agoBash strict mode forces to write clean scripts, with each potential error handled. I use it for more than decade. I wrote lot of bash scripts at Bazaarvoice. BTW. I developed small set of common functions for strict mode, called bash-modules. Can you look at it and provide some feedback? See https://github.com/vlisivka/bash-modules https://github.com/vlisivka/bash-modules .
- redsymbol 9y agoThank you!