Syntax error : end of file unexpected (expecting “then”)
2018-01-26 16:25
1661 查看
解决方法
在vim下,文件结尾输入
:set fileformat=unix修改ubuntu 和linux服务器、 dos等非图形界面冲突
:wq保存
解决
相关文章推荐
- linux脚本相关: Syntax error: end of file unexpected (expecting "then") 提示错误
- Syntax error: end of file unexpected (expecting "done")
- 【问题解决】syntax error: unexpected end of file或-bash: ./full_build.sh: /bin/bash^M: bad interpreter: No
- 解决shell错误:syntax error: unexpected end of file
- bin/sh -c:line 1 Syntax Error:unexpected end of file的解决方法
- php出现如下错误: Parse error: syntax error, unexpected end of file in
- linux-shell syntax error: unexpected end of file
- 解决shell错误:syntax error: unexpected end of file
- SHELL syntax error:unexpected end of file 提示错误
- PHP问题Parse error: syntax error, unexpected end of file in
- Parse error: syntax error, unexpected end of file in *.php on line * 解决方法
- line 132: syntax error: unexpected end of file
- Parse error: syntax error, unexpected end of file in
- <?php}?>格式导致错误 Parse error: syntax error, unexpected end of file in *.php on line 374
- 关于Qt for Android 编译时出错/usr/bin/sh: -c: line 1: syntax error: unexpected end of file 时的解决方法
- 配置NDK Cygwin .bash_profile:行47: 语法错误: 未预期的文件结尾 syntax error: unexpected end of file 解决
- shell脚本调试报错:"syntax error: unexpected end of file"
- Parse error: syntax error, unexpected end of file in * 的解决办法
- Shell中EOF出现syntax error: unexpected end of file
- syntax error: unexpected end of file解决方法