只要条件成立,就会反复执行对应的循环体 死循环 直到条件为假时,才会退出循环#语法示例while truedo 循环体donewhile [ 条件测试 ]do 循环体donewhile read linedo 循环体done < file.txt