Re:Shfmt – format shell programs (like gofmt, rustfmt)
by jamal-kumar on Saturday February 11, 2023 @01:52PM
(#34755084)
I throw all my shell scripts through this beast of a haskell application to see if they're clean:
https://github.com/koalaman/shellcheck
Crucially it shows where on the line the error is in case I've got some large piped one-liner which might have a problem.
Also for static typing an analysis I would absolutely give up even more syntax that is ambiguously parsed.