Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <4281016B.3050901@bellsouth.net> Date: Tue, 10 May 2005 13:46:03 -0500 From: "Charles D. Russell" Reply-To: worwor AT bellsouth DOT net User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) MIME-Version: 1.0 To: cygwin cygwin Subject: Re: "ls" finds file1 but "ls file1" does not Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Eric Blake wrote: > mv -v "$f" " ` echo $f | tr A-Z a-z ` " EVIL - you are moving "FOO" to " foo " (Windows strips trailing spaces, but not leading spaces, so it is really moving to " foo"). YOU ARE ADDING SPACES to the filename. Fix your script so that there are no spaces between "` and `". _____________ Thought it was clever of me to make that little ` visible to my old eyes. _______________ Also, as mentioned elsewhere, `ls -q' or `ls -Q' would have made this apparent. ______________ ls -Q does, if invoked as "ls -Q" and not as "ls -Q as*" Thanks for the help, and sorry for an inquiry that turned out to be off-topic. _____________ I am reluctant to upgrade because the use of large static > fortran arrays with cygwin/g77 seems to be a fragile issue and my > current installation is now working (but only with -mno-cygwin). > ++++++++++++++++ Dave Korn wrote: That one is *well-and-truely* fixed, solved, sorted, straightened out, banged on the head, put to bed, laid to rest, and otherwise dealt with! _______________ Many thanks to the cygwin folks. I thought that fix would have to await the impending replacement of g77 with gfortran. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/