赞
踩
<pre name="code" class="plain">
read A
case $A in
h)
echo "hello"
;;
w|W)
echo "world"
;;
*)
echo "other"
;;
esac
read B
if [ $B -eq 0 ]
then
echo params num is 0
else
echo params num is not 0
fi
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。