win上是dos模式,需要改成unix模式 方法是: 在linux上vim 打开脚本,然后:set ff=unix 转载于:https://www.cnblogs.com/jabbok/p/10119519.html