11智能在线
新记
如何写一个linux脚本,给程序A输入字符串
如题所述
举报该文章
相关建议 2017-05-22
#!/bin/bashall=$*if [ $# -ne 10 ];then echo error|tee -a /tmp/err exit 1fisum=1for i in $alldo if [ $i -le 0 ];then echo error|tee -a /tmp/err exit 1 else sum=`expr $sum \* $i` fidoneecho $sum
温馨提示:内容为网友见解,仅供参考
当前网址:
https://11.t2y.org/zz/pqf2784sq2qvq287vv7.html
其他看法
无其他回答
相似回答
大家正在搜