Cygwin的命令没有找到.bashrc中发现357 \\ 273 \\ 277字符不好 [英] Cygwin command not found bad characters found in .bashrc 357\273\277

查看:850
本文介绍了Cygwin的命令没有找到.bashrc中发现357 \\ 273 \\ 277字符不好的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的Cygwin,我刚安装了它,并试图设置一些简单的环境变量。然而,当我打开命令shell,我得到的错误#357 \\ 273 \\ 277命令未找到

I'm new to Cygwin, I just installed it and attempted to set some simple environment variables. However, when I open the command shell, I get the error "#357\273\277 command not found"

我发现讨论的问题是什么,以及如何发现隐藏的不良性格的文章:
<一href=\"http://mblog.lib.umich.edu/DataDiscussions/archives/2010/01/index.html\">http://mblog.lib.umich.edu/DataDiscussions/archives/2010/01/index.html
 但我不知道如何删除字符(验证我在使用od命令我的.bashrc文件有问题)来解决问题。我试图改变preferences在记事本++为UTF-8,ANSI无济于事查看,但该文件没有改变的。

I found an article that discusses what the problem is and how to "discover" the hidden bad character: http://mblog.lib.umich.edu/DataDiscussions/archives/2010/01/index.html but I don't know how to resolve the issue by removing the character (which I validated was a problem in my .bashrc file using the od command). I attempted to change the preferences view in Notepad++ to UTF-8 and ANSI to no avail, but the file was not altered at all.

任何帮助将是AP preciated ...

Any help would be appreciated...

推荐答案

在你的文件喂养cygwin的bash中,你可以做一个DOS2UNIX的转换先取像CR LF小心可能发生的冲突。开放庆典

Before feeding your files to cygwin bash, you can do a dos2unix conversion first to take care possible conflicts like CR LF. Open bash

名@主机〜
$ DOS2UNIX的your_file.sh

name@host ~ $ dos2unix your_file.sh

这篇关于Cygwin的命令没有找到.bashrc中发现357 \\ 273 \\ 277字符不好的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆