📜  bash 循环局部变量 - Shell-Bash 代码示例

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

代码示例1
The while-loop is executed in a subshell, so changes to the variable 
 inside the while-loop won't affect the external variable.