If you’re writing a bash script, you should probably be using the Community Bash Style Guide (https://github.com/azet/community_bash_style_guide#style-conventions).
Also, look through the slides for Beautiful Bash: Let's make reading and writing bash scripts fun again! (https://www.slideshare.net/a_z_e_t/inpresentation)
@aral Some good stuff in there. The admonition to use “set -eu -o pipefail” was new to me. Related, I can’t believed it when I find a Perl script that doesn’t use “warnings”.
@aral there are accessibility arguments for using tabs rather than spaces though: https://alexandersandberg.com/tabs-for-accessibility/
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!