ITeye博客

shell ParseException line 1:6 cannot recognize input near '<EOF>' '<EOF>' '<EOF>

chy0919 · 2016-01-12 15:10 · shell · 开源软件 · Markdown

本人在写好shell脚本部署到linux机器运行时,报错信息为:ParseException line 1:6 cannot recognize input near '<EOF>' '<EOF>' '<EOF>' in select clause,初看貌似是shell脚本语法有问题,其实是因为shell脚本文件不是UNIX格式,然后在NotePad++编辑器中打开脚本文件,点击编辑->档案格式转换->转换为UNIX格式,OK,问题解决了,再次部署运行一切正常。

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。