当前位置: 技术问答>linux和unix
求助,shell脚本While语句问题
来源: 互联网 发布时间:2017-05-16
本文导语: 代码如下 #!/bin/sh echo "This script is to delete the autosaves that mednafen create" echo "Is this OK?" select var in "Yes" "No";do break done [ $var = No ] && exit while [ "$var" != "EXIT" ] do ls /home/master/.mednafen/mcs
代码如下
#!/bin/sh
echo "This script is to delete the autosaves that mednafen create"
echo "Is this OK?"
select var in "Yes" "No";do
break
done
[ $var = No ] && exit
while [ "$var" != "EXIT" ]
do
ls /home/master/.mednafen/mcs
#!/bin/sh
echo "This script is to delete the autosaves that mednafen create"
echo "Is this OK?"
select var in "Yes" "No";do
break
done
[ $var = No ] && exit
while [ "$var" != "EXIT" ]
do
ls /home/master/.mednafen/mcs