Re:Shell Script Best Practices, from a decade of scripting t...
by arendtio on Saturday October 29, 2022 @06:37PM
(#33388655)
Yes and my personal favorite: Functions can behave differently depending on, if they are being called from a conditional expression vs. from a normal context. Errexit has no effect if the function is called from a conditional expression.
[ Parent
| on HN ]
There are no comments on this comment yet.