經安全檢測,此網站為安全網站,請放心前往原始網址!

linux - sh shell script can't break the loop - Stack Overflow

You are just breaking the inner most for loop, if you are trying to exit the script at that point, maybe you should use exit ?

www.google.com.tw

網址安全性掃描由 google 提供