2015年6月29日

linux shell-syntax error near unexpected token错误

摘要: 在windows下用记事本编写linux shell脚本后,执行遇到syntax error near unexpected token错误问题原理:网上找了好久,找到原因,原来是回行的问题,每个系统的回行符是不一样的。window系统的记事本回车是CR和LFlinux系统的记事本回车是LFmac系... 阅读全文

posted @ 2015-06-29 21:23 imxiu 阅读(3358) 评论(0) 推荐(1) 编辑

导航