

Agreed on your points and usually I do 2. (name) and 3. (exit instead else) sometimes. For the [[
over [
, it usually matters only for word splitting and globbing behavior, if you do not enclose the variables between quotes I believe. But looking into the shellcheck entry, looks like there is no disadvantage. I may start doing this by default in the future too.
So thanks for the suggestions, I will update the script in a minute.
Edit: I always forget that Beehaw will break if I use the “lower than” character like in
, so I replaced it in the post with
cat %%EOF
which requires to change that line. And the example usage is gone for the moment.
crc32 is very common amongst emulation and roms. While often they provide md5sum too, crc32 is a bit faster on bulk.