This is the mail archive of the
mailing list for the Cygwin project.
Re: Simple shell script not working
On 9/1/07, Bengt-Arne Fjellner
> Yxg wrote:
> > I have also encounted this problem:
> > "bash: $'\r': command not found"
> > when start the cygwin programme.Have you found the method to fix it?
> Reason you have edited some file with the wrong editor
> run d2u on .bashrc .bash_profile
> Bengt-Arne Fjellner
Also, it looks like you have to run das2unix on the script... " touch
foo.txt\r " is proboably what bash is running.
"Space does not reflect society, it expresses it." -- Castells, M.,
Space of Flows, Space of Places: Materials for a Theory of Urbanism in
the Information Age, in The Cybercities Reader, S. Graham, Editor.
2004, Routledge: London. p. 82-93.
-----BEGIN PGP SIGNATURE-----
Version: Gmail/GnuPG Min32 Hack
Comment: Using GnuPG and Gmail - ask me about Grim Fandango
-----END PGP SIGNATURE-----
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html