Your message dated Sun, 6 Dec 2015 00:51:44 +0100 with message-id <[email protected]> and subject line Re: Bug#508602: $((++v)) insidiously broken, at least $((v++)) gives error has caused the Debian Bug report #508602, regarding $((++v)) insidiously broken, at least $((v++)) gives error to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 508602: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508602 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: dash Version: 0.5.4-12 Tags: upstream At least these admit it can't deal with it: $ dash -c 'b=5; echo $((b++))' dash: arithmetic expression: expecting primary: "b++" $ dash -c 'b=5; echo $((b--))' dash: arithmetic expression: expecting primary: "b--" These however are more insidious, compare bash: $ dash -c 'b=5; echo $((--b)); echo $((--b))' 5 5 $ bash -c 'b=5; echo $((--b)); echo $((--b))' 4 3 $ dash -c 'b=5; echo $((++b)); echo $((++b))' 5 5 $ bash -c 'b=5; echo $((++b)); echo $((++b))' 6 7
--- End Message ---
--- Begin Message ---Hello, although this behaviour is not optimal, it is accepted by the POSIX specs, so it will not be changed upstream. checkbashisms already warns against the use of `$((--n))`: possible bashism in line 1 ('$((--n))' should be '$((n=n-1))'): Regards, -- Gioele Barabucci <[email protected]>
--- End Message ---

