摘要: #!/bin/bash # judge input while read -p "Pls input Max lines:" MAX do expr $MAX + 0 &>/dev/null if [ $? -eq 0 ];then break fi done echo "Success:$MAX" 阅读全文
posted @ 2022-08-21 11:06 Richie` 阅读(210) 评论(0) 推荐(0) 编辑