[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PATCH: silence Shellcheck warning
From: |
Ben Elliston |
Subject: |
Re: PATCH: silence Shellcheck warning |
Date: |
Wed, 19 Jan 2022 16:56:39 +1100 |
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