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. 无错了..