Shell跳出循环: break和continue命令
要跳出这个循环,返回到shell提示符下,就要使用break命令。 #!/bin/bashwhile :doecho -n "Input a number between 1 to 5: "read aNumcase $aNum in1|2...
Shell break和continue命令_C语言中文网
要跳出这个循环,返回到shell提示符下,就要使用break命令。#!/bin/bash while : do echo -n "Input a number between 1 to 5: " read aNum case $a...