News for hackers. Stuff that matters.
Re:Shfmt – format shell programs (like gofmt, rustfmt) by Spivak on Saturday February 11, 2023 @01:38PM (#34754946)
I can’t say I’ve ever used the forms they don’t support and I am the person who uses all sorts of esoteric bash features at work.

Also for static typing an analysis I would absolutely give up even more syntax that is ambiguously parsed.

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.