www.qprq.net > shEll脚本编程的加法出错,求大神帮忙看看哪里出错

shEll脚本编程的加法出错,求大神帮忙看看哪里出错

[root@test ~]# cat test.sh #/bin/bash read a read b echo `expr $a + $b` [root@test ~]# sh test.sh 1 100 101 [root@test ~]#

#!/bin/bash sum=0 i=2 while (($i

网站地图

All rights reserved Powered by www.qprq.net

copyright ©right 2010-2021。
www.qprq.net内容来自网络,如有侵犯请联系客服。zhit325@qq.com