企业 网站 制作,如何做一个导航网站,网页设计公司怎么开,网站怎么防k2011-11-28 13:03朋友你好#xff01;我刚开始搞linux#xff0c;碰到了很多问题#xff0c;想问你下#xff0c;希望能帮我解答下。下面是我的一段shell 程序##xff01;/bin/shwhile [ 0 ]doread scoreif [ $score -lt 60 ];thenecho you must work hard!…2011-11-28 13:03朋友你好我刚开始搞linux碰到了很多问题想问你下希望能帮我解答下。下面是我的一段shell 程序#/bin/shwhile [ 0 ]doread scoreif [ $score -lt 60 ];thenecho you must work hard!elif [ $score -lt 80 ]echo just so so,you should do betterelif [ $score -le 100 ]echo ”done well ,keep it fiecho if you want to contiune press y,else press any key to exitread Cif [ $c y ];thencontiuneelseecho thanks for comingfidone运行$ sh -x test.sh有个错误提示在第二个if出(if 【 $C y ]) unary operator expected是什么原因呀我以为是一个shell程序里不能同时出现两个if--then--else语句可要是不能这样我要实现程序跳转(也就是查了以个分数等级后不退出程序还能继续查询第二个)该用什么方法实现。小弟在此先行叩谢了。