📜  shell break while loop - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:48.681000             🧑  作者: Mango

代码示例1
workdone=0
while : ; do
  ...
  if [ "$workdone" -ne 0 ]; then
      break
  fi
done