摘要:
现象: shell脚本使用Nodepad++进行本地编辑,在编辑后上传到linux机器进行执行时提示“syntax error near unexpected token for((i=0;i<$length;i++))” 解决方案: 思路:经查询是因为所处理的文件换行符是dos格式的"\r\n", 阅读全文
posted @ 2017-07-14 11:17 Aaron-Mhs 阅读(420) 评论(0) 推荐(0)
|
|||
摘要:
现象: shell脚本使用Nodepad++进行本地编辑,在编辑后上传到linux机器进行执行时提示“syntax error near unexpected token for((i=0;i<$length;i++))” 解决方案: 思路:经查询是因为所处理的文件换行符是dos格式的"\r\n", 阅读全文
posted @ 2017-07-14 11:17 Aaron-Mhs 阅读(420) 评论(0) 推荐(0) |
|||