0
点赞
收藏
分享

微信扫一扫

Linux系列:shell中变量自增的实现方法

那小那小 2022-03-12 阅读 48


i=`expr $i + 1`;
let i+=1;
((i++));
i=$[$i+1];
i=$(( $i + 1 ))



举报

相关推荐

0 条评论