• 发布于2015-06-26 被收藏0次 1人推荐 0条评论
    #!/bin/bash#你值得收藏的四则表达式运算。val1=1val2=1val3=1val4=1val5=1val6=1val7=1let val1++((val2++))val3=$(($val3+1))val4=`expr$val4+1`val5=`bc$val5+1`val6=`echo"$val6+1"|bc`val7=$[$val7+1]echo'val1='$val1echo'val2='$val2echo'val3='$val3echo'val4='$val
    推荐于01-10 15:59 详细
1