Python as a shell replacement
Python as a shell replacement
Posted Dec 13, 2019 22:59 UTC (Fri) by marcH (subscriber, #57642)In reply to: Python as a shell replacement by BenHutchings
Parent article: Creating Kubernetes distributions
Yes, set -e is absolutely not a silver bullet. It does not catch all errors, so you must lower your expectations. It does catch many of them, which has saved me and many others a lot of time, routinely, for years.
Some influent and vocal experts seem to have decided that, short of catching "all errors", catching "no error" is better than "many errors". I've read all their essays and I still couldn't make sense of their logic https://mywiki.wooledge.org/BashFAQ/105
"Works for us".
PS: besides 105 and a couple others, https://mywiki.wooledge.org/BashFAQ is the best.
