#!/bin/sh a=1 a=$(($a+1)) a=$[$a+1] a=`expr $a + 1` let a++ let a+=1 ((a++)) echo $a 转载于:https://www.cnblogs.com/yeemi/p/7470138.html