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++))
Yep, ++ is not required to be supported by a POSIX-compliant shell: "The sizeof() operator and the prefix and postfix "++" and "--" operators are not required." Regards, Adam -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org