i=`expr $i + 1`;
let i+=1;
((i++));
i=$[$i+1];
i=$(( $i + 1 ))
shell中变量自增的实现方法
猜你喜欢
转载自blog.csdn.net/VIP099/article/details/104798422
今日推荐
周排行