摘要: #!/bin/bash c=1 while [ ${c} -eq 1 ] do echo "请输入第一个数" read a echo "请输入第二个数" read b if [[ ${b} != *[!0]* ]] && [[ ${a} != *[!0123456789]* ]] && [ -n "${a}" ] && [ -n "${b}" ] ; then sleep 1 e... 阅读全文
posted @ 2016-12-01 11:14 张老司机 阅读(1008) 评论(0) 推荐(0) 编辑