Comment

Comment by acqq

ShellCheck's unique error/warning codes and wiki descriptions for every code with the explanations and example are the work of genius.

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!

parent acqq 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton