标签:没有 语句 脚本 ash 密码 标准 ogr 输入 word
#!/usr/bin/bashread -p "please input youe name:" name;echo "hello,$name,welcome to this program!";
#!/usr/bin/bashread -t 5 -p "please input your name" nameecho $name ;
#!/usr/bin/bashread -t 5 -n1 -p "Do you want to continue?(Y/N)" answer;case $answer inY|y)echo "fine,continue";;N|n)echo "ok,goodbye";;*)echo "error choice";;esac
#!/usr/bin/bashread -t 5 -s -p "please input your password" password;echo your password is $password;
cat loop.sh|while read sentence ;doecho $sentence;done;
标签:没有 语句 脚本 ash 密码 标准 ogr 输入 word
原文地址:https://www.cnblogs.com/cyj1258/p/12267316.html