News for hackers. Stuff that matters.
Re:Bash Pitfalls by draebek on Tuesday September 08, 2020 @12:13AM (#24405130)
Note that this same wiki has a good page on the numerous surprising behaviors of errexit: https://mywiki.wooledge.org/BashFAQ/105

My perception is that there is no consensus on whether or not to use it. I go back and forth, but I probably use it more often than not.

Re:Bash Pitfalls by nikisweeting on Tuesday September 08, 2020 @01:17PM (#24410484)
imho all the behaviors that post outlines as "confusing" are my desired behaviors most of the time. For me it's pretty clear-cut, error out by default and only continue when explicitly allowed with something like `|| true`.