您的位置:首页 > 运维架构 > Shell

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. 无错了..
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐