您好,登錄后才能下訂單哦!
#!/usr/bin/env bash
##計算##
result=`expr 2 - 100`
echo "$result"
result1=$((5+5))
echo "$result1"
result2=$[5+4]
echo $result2
let result3=2+4
echo $result3
for var in 1 2 3 4 5 6 7 8 9
do
echo "then is number is $var"
done
for var1 in {10..19}
do
echo "then is number is $var1"
done
for var2 in `seq 20 28`
do
echo "then is numver is $var2"
done
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。