显然,在执行时编辑 Linux shell 脚本会导致未定义的行为。
当您在执行 PowerShell 脚本时对其进行编辑时会发生什么情况?
windows shell powershell
powershell ×1
shell ×1
windows ×1