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 From: "Dave Korn" To: "'cygwin cygwin'" Subject: RE: "ls" finds file1 but "ls file1" does not Date: Tue, 10 May 2005 02:54:52 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <427FB4CA.5010808@bellsouth.net> Message-ID: X-OriginalArrivalTime: 10 May 2005 01:54:53.0306 (UTC) FILETIME=[422745A0:01C55503] ----Original Message---- >From: Charles D. Russell >Sent: 09 May 2005 20:07 > "ls" finds file1 but "ls file1" does not. How can this happen? > > The following example occurred just after I had renamed some *.htm files > to *.html using > an ash shell script. No such problem occurred, however, when I used DOS > "rename" to make > the same change. Not 100% sure what's going on here, but can I just ask one thing? > $ ls > _index.htm* finder.dat* lib_over.htm* setjmp.htm* time.htm* > assert.htm* float.htm* lib_prin.htm* signal.htm* types.htm* > charset.htm* function.htm* lib_scan.htm* stdarg.htm* wchar.htm* [etc] Did your ash script go wrong and rename all those files with actual asterisks on the end ? > Documents/books_open/c/stdcbook_bad/STD_c > $ ls assert.htm > ls: assert.htm: No such file or directory <-- **** THIS IS THE PROBLEM > **** But ISTM there is no such file as assert.htm. What output do you get from ls assert.htm\* ? cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/