原因是因为在windows下开发的脚本,需要dos2unix转换一下格式 或者vim filename set ff=unix