This is the mail archive of the
mailing list for the Cygwin project.
Bash/wget gets confused by trailing carriage return
- From: <siegfried at heintze dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 15 Mar 2011 23:42:57 -0700
- Subject: Bash/wget gets confused by trailing carriage return
I'm sorry if this appears twice. I'm posting it again because I did not
see it appear.
I have the following script that does not work!
when I type bash.exe -v it says version 3.9-3
Here are the results:
Resolving mirrors.kernel.org (mirrors.kernel.org)... 188.8.131.52,
Connecting to mirrors.kernel.org (mirrors.kernel.org)|184.108.40.206|:21...
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /debian-cd/6.0.0/i386/iso-dvd ... done.
==> SIZE debian-6.0.0-i386-DVD-2.iso\r ... done.
==> PASV ... done. ==> RETR debian-6.0.0-i386-DVD-2.iso\r ...
No such file `debian-6.0.0-i386-DVD-2.iso\r'.
Process compilation exited abnormally with code 8
It appears to be appending the carriage return on the end of the file
name. Perhaps the C runtime is getting confused.
How do I fix this?
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple