X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.4 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org X-Yahoo-SMTP: mjD.OBqswBAPbVUxYJaYPvc61jLEnpq8VnBwJGdbEJOPA9xw Message-ID: <4D80629B.5020009@sbcglobal.net> Date: Wed, 16 Mar 2011 07:11:23 +0000 From: Greg Chicares User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Bash/wget gets confused by trailing carriage return References: <20110315234257 DOT d50bba72719f91cdb61cd892ddf83b25 DOT 80a6e42e42 DOT wbe AT email11 DOT secureserver DOT net> In-Reply-To: <20110315234257.d50bba72719f91cdb61cd892ddf83b25.80a6e42e42.wbe@email11.secureserver.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 2011-03-16 06:42Z, siegfried AT DELETED DOT com wrote: > > #!/usr/bin/bash > /usr/bin/wget ftp://mirrors.kernel.org/debian-cd/6.0.0/i386/iso-dvd/debian-6.0.0-i386-DVD-2.iso [...] > ==> 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'. Have you ruled out the possibility that your script contains '\r'? This od -t a my_script.sh |grep cr would detect its presence, and 'd2u' would remove it. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple