bash: /home/x/.bash_profile: line 48: syntax error: unexpected end of file的解决
2014-03-24 10:46
627 查看
cygwin 配置时.运行cygwin.bat就有错.
bash: $'\r': command not found
bash: $'\r': command not found
bash: $'\r': command not found
bash: $'\r': command not found
bash: $'\r': command not found
bash: $'\r': command not found
bash: $'\r': command not found
bash: /home/s/.bash_profile: line 48: syntax error: unexpected end of file
其实是不能用win的纪事本打开编辑bash_profile. 要用editplus或ultraedit. 我用UE.编辑然后选择DOS转UNIX 保存. 再运行bat. 无错了..
bash: $'\r': command not found
bash: $'\r': command not found
bash: $'\r': command not found
bash: $'\r': command not found
bash: $'\r': command not found
bash: $'\r': command not found
bash: $'\r': command not found
bash: /home/s/.bash_profile: line 48: syntax error: unexpected end of file
其实是不能用win的纪事本打开编辑bash_profile. 要用editplus或ultraedit. 我用UE.编辑然后选择DOS转UNIX 保存. 再运行bat. 无错了..
相关文章推荐
- 配置NDK Cygwin .bash_profile:行47: 语法错误: 未预期的文件结尾 syntax error: unexpected end of file 解决
- 修改文件.bash_profile后报错 /home/tomcat/.bash_profile: line 18: syntax error: unexpected end of file
- Parse error: syntax error, unexpected end of file in *.php on line * 解决方法
- bin/sh -c:line 1 Syntax Error:unexpected end of file的解决方法
- PHP错误Parse error: syntax error, unexpected end of file in test.php on line 12解决方法
- bin/sh -c:line 1 Syntax Error:unexpected end of file的解决方法
- PHP错误Parse error: syntax error, unexpected end of file in test.php on line 12解决方法
- 关于Qt for Android 编译时出错/usr/bin/sh: -c: line 1: syntax error: unexpected end of file 时的解决方法
- 【问题解决】syntax error: unexpected end of file或-bash: ./full_build.sh: /bin/bash^M: bad interpreter: No
- PHP错误Parse error: syntax error, unexpected end of file in test.php on line 12解决方法
- 【问题解决】syntax error: unexpected end of file或-bash: ./full_build.sh: /bin/bash^M: bad interpreter: No
- syntax error : unexpected end of file 问题的解决
- 配置NDK时出现:-bash: /home/Administrator/.bash_profile: line 47: syntax error: unexpected
- input01.sh: line 11: warning: here-document at line 4 delimited by end-of-file (wanted `EOF') input01.sh: line 12: syntax error: unexpected end of file
- Parse error: syntax error, unexpected end of file in * 的解决办法
- 解决shell错误:syntax error: unexpected end of file
- 解决shell错误:syntax error: unexpected end of file
- 配置NDK时出现:-bash: /home/Administrator/.bash_profile: line 47: syntax error: unexpected
- 配置NDK时出现:-bash: /home/Administrator/.bash_profile: line 47: syntax error: unexpected .
- syntax error:unexpected end of file 和 bash:command not found