On Tue, Jan 18, 2022 at 09:50:04PM -0500, Mike Frysinger wrote: > shell does not lend itself to being written correctly. shellcheck > has proven its worth to me multiple times over, especially because i > can stop having to point out the same mistakes to people over & over > that it easily finds. we've integrated into CrOS & internally at > Google and people love it.
I agree. In some cases, Shellcheck has corrected my longheld misunderstandings about various shell constructs. I put this down to the fact that many people learn Borne shell by reading the broken scripts of other people rather than a formal book or the man pages. Ben