Bug#572006: devscripts: checkbashism doesn't find $((foo++)) bashisms

2010-02-28 Thread Adam D. Barratt
On Sun, 2010-02-28 at 22:22 +0100, Axel Beckert wrote: > via another bug (yet to file :-) I ran over a sort of bashisms > checkbashisms doesn't yet recognise, or at least dash can't parse > (haven't checked the POSIX standard about that syntax). [...] > #!/bin/sh > > metric=0 > echo $((metric++))

Bug#572006: devscripts: checkbashism doesn't find $((foo++)) bashisms

2010-02-28 Thread Axel Beckert
Package: devscripts Version: 2.10.61 Severity: wishlist File: /usr/bin/checkbashisms Hi, via another bug (yet to file :-) I ran over a sort of bashisms checkbashisms doesn't yet recognise, or at least dash can't parse (haven't checked the POSIX standard about that syntax). For the following scri