Package: lintian
Version: 2.144.0
Severity: wishlist
X-Debbugs-Cc: [email protected]

Dear Maintainer,

I have seen several false positives for the bashisms checks, for
example:

* bash-term-in-posix-shell false positive, triggers on "function" in an
  embedded awk script (bug #1029223)
* bash-term-in-posix-shell false positives for dracut (#1155003)

There is a tool that parses shell scripts and is good at detecting
script problems including bashisms: shellcheck

Please use shellcheck for bash-term-in-posix-shell and chown-with-dot.
It can produce a JSON output that lintian can use. shellcheck can take
--rcfile to specify a config. In this config, lintian could turn on the
shellcheck checks about bashisms.

-- 
Benjamin Drung
Debian & Ubuntu Developer

Reply via email to