遇到这种错误: 解决方法:安装dos2unix 打开Cygwin bin目录 cmd 运行 setup-x86_64.exe -q -P dos2unix 运行 $ dos2unix shell_test.sh 再次运行: