The checkbashisms tool does not detect the use of doublebraces for arithmetic.
FOO=3 echo $(($FOO - 1))
those are parenthesis, not braces. that is also valid POSIX shell code, so what exactly do you want checkbashisms to detect ?
checkbashisms
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_04
Log in to post a comment.
those are parenthesis, not braces. that is also valid POSIX shell code, so what exactly do you want
checkbashisms
to detect ?http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_04