summaryrefslogtreecommitdiffstats
path: root/test/bashisms/arith.sh.out
blob: dae4b40549a566118020a59f4c7337523dbbeb99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
possible bashism in bashisms/arith.sh line 7 ('$((n++))' should be '$n; $((n=n+1))'):
echo $((n-m++)) # BASHISM
possible bashism in bashisms/arith.sh line 8 ('$((++n))' should be '$((n=n+1))'):
echo $((++m))   # BASHISM
possible bashism in bashisms/arith.sh line 9 ('$((n--))' should be '$n; $((n=n-1))'):
echo $(( m-- )) # BASHISM
possible bashism in bashisms/arith.sh line 10 ('$((--n))' should be '$((n=n-1))'):
echo $((--m))   # BASHISM
possible bashism in bashisms/arith.sh line 13 ('$((n++))' should be '$n; $((n=n+1))'):
echo $((foo_bar++)) # BASHISM
possible bashism in bashisms/arith.sh line 17 ('$((n++))' should be '$n; $((n=n+1))'):
echo $((2*n++)) # BASHISM
possible bashism in bashisms/arith.sh line 19 ('$((n++))' should be '$n; $((n=n+1))'):
echo $(($n*n++)) # BASHISM
possible bashism in bashisms/arith.sh line 21 (exponentiation is not POSIX):
echo $((3**2)) # BASHISM