On Wed, 1 Mar 2023 at 15:53, Patrice Duroux <patrice.dur...@gmail.com> wrote: > > Great, I will give a look at shellcheck.
Thanks - if it can also detect these problems, then -- after waiting a little while for any suggestions and confirmation from debian-lint-maint (cc'd) -- it might be worth filing a bug against lintian to request a shellscript style-checking rule (idea: solve once, and then attempt to introduce automated checks to highlight future occurrences).