i=`expr $i + 1`; let i+=1; ((i++)); i=$[$i+1]; i=$(( $i + 1 )) 参考: https://www.cnblogs.com/faithfu/p/9472817.html 转载于:https://www.cnblogs.com/sea-stream/p/11403115.html