$ i=1$ let i+=1$ echo $i2$ ((i++))$ echo $i3$ i=$[$i+1]$ echo $i4$ i=$(($i+1))$ echo $i5
来源: http://www.bubuko.com/infodetail-3105012.html