脚本初学者,求指教!

作者: yuhuman 2015-11-05 23:28:30
脚本内容
#! /bin/sh
read -p "please input your score: " a
if (($a < 60)); then
echo "you did not pass the exam"
fi
执行结果是:
please input your score: 29
if1.sh: 4: if1.sh: cannot open 60: No such file
if1.sh: 4: if1.sh: 29: not found


求指教,谢谢!

相关资讯