Bug#473156: [checks/scripts] dash now supports $((cnt+1))
"Adam D. Barratt" <adam@adam-barratt.org.uk> writes:
> Package: lintian
> Version: 1.23.46
> Severity: wishlist
> Tags: patch
>
> dash (finally) gained support for the shell arithmetic construct "$((var
> +1))" with the upload of 0.5.4-3 in December 2007 (see #329025).
>
> As lenny contains a version of dash with the support, I've attached a
> patch removing the corresponding test from the bashisms section of
> checks/scripts.
dash is not the metric for bashisms, though. If it's not in POSIX and
isn't listed as an exception in Policy 10.4, it's not allowed for /bin/sh
scripts.
Do you think we should add this as an additional exception?
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: