What I always find frustrating about that, is that even a colleague with much more Bash experience than me, will ask me what those options are, if I slap a set -euo pipefail or similar into there.
I guess, I could prepare a snippet like in the article with proper comments instead:
set -e # exit on error
set -u # exit on unset variable
set -o pipefail # exit on errors in pipes
Maybe with the whole trapping thing, too.
But yeah, will have to remember to use that. Most Bash scripts start out as just quickly trying something out, so it’s easy to forget setting the proper options…














I mean, I’m not sure, what type of responses you expect, but I do always chuckle when someone posts here with “Not sure if autism” and then you open the post and it’s just a huge wall of text. Obviously not enough for a diagnosis, or even just telling whether someone really is on the spectrum, but it is quite a common sight.
What you actually wrote doesn’t sound of place either. Feeling like you don’t fit in and the whole depression thing isn’t inherent to the autistic experience, but still quite common, because others will view us as different or weird.
You could try out hobbies that tend to attract neurodivergent folks, like for example chess, board games, technology and books. Maybe you’ll find a sense of belonging there…