summaryrefslogtreecommitdiffstats
path: root/tests/arith4.sub
blob: d74defa183df8de7dfcca376dfba8e13ad9ba204 (plain)
1
2
3
4
5
6
7
8
9
10
x=$(( !!1 ))
echo $x

x=$(( -!+1 ))
echo $x

x=$(( +--+!!0 ))
echo $x

echo $(( !!+-+-~0 ))