Date: Thu, 11 Oct 2001 10:04:43 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Charles Sandmann cc: djgpp-workers AT delorie DOT com, tim DOT van DOT holder AT pandora DOT be Subject: Re: find tests (does not appear OS specific to me) In-Reply-To: <10110110218.AA17858@clio.rice.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, 10 Oct 2001, Charles Sandmann wrote: > mkdir .cvs > touch !.cvs > touch .cvsignore > find . -name '*cvs*' > ./!.cvs > find | grep cvs > ./.cvs > ./!.cvs > ./.cvsignore > > So, I see the same behavior on W95 as on Win2K. And that behavior is expected. See my other mail today about the special handling of files whose name begin with a dot. > Now, if I create a file/dir "CVS" > find shows the file as all lower case on find without a name argument, ie > ./cvs > (-name '*CVS*' fails as expected). Also expected: readdir by default downcases file names which are valid 8+3 file names. If you want it to be more case-sensitive, set FNCASE=y and try again.