and, unless somebody proves otherwise, makes me believe that with ShellCheck and using the described conventions a shell script could be better diagnosed for mistyped variables than a Python script can (namely at "compile time" and not during the run).
Vidar, your work significantly improved the life of people confronted with shell scripts. Thanks!
It seems so "obvious" in hindsight but not many other tools are so good.
Also, tangentially, this is also so perfect:
https://github.com/koalaman/shellcheck/wiki/SC2154
and, unless somebody proves otherwise, makes me believe that with ShellCheck and using the described conventions a shell script could be better diagnosed for mistyped variables than a Python script can (namely at "compile time" and not during the run).
Vidar, your work significantly improved the life of people confronted with shell scripts. Thanks!