echo 1 + 3.5 | bc awk "BEGIN {print 1+3.5; exit}" python -c "print 1+3.5" perl -e "print 1+3.5"
只需用变量替换数字,例如:echo $n1 $n2 |公元前
echo 1 + 3.5 | bc awk "BEGIN {print 1+3.5; exit}" python -c "print 1+3.5" perl -e "print 1+3.5"
只需用变量替换数字,例如:echo $n1 $n2 |公元前