Linux shell 变量自增
摘要:网上随便查阅了一下(http://www.cnblogs.com/iloveyoucc/archive/2012/07/11/2585559.html),有这几种方法:1. i=`expr $i + 1`;2. let i+=1;3. ((i++));4. i=$[$i+1];5. i=$(( $i...
阅读全文
posted @ 2015-11-25 19:33
posted @ 2015-11-25 19:33