shell 指令 echo 'scale=5; 100/7' | bc 14.28571. 在shell 指令稿中,若要將 bc 的計算結果放進shell 的變數中,可以這樣寫: #/bin/bash ans=$(echo ...
確定! 回上一頁