shell加法(以加1为例) n=1 let "n=$n+1":$((n=$n+1))((n=n+1)):$[n=$n+1]n=$[$n+1]let "n++"((n++)):$[n++] 转载于:https://blog.51cto.com/1099325/966590