www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/10/11/04:09:32

Date: Thu, 11 Oct 2001 10:04:43 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
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: <Pine.SUN.3.91.1011011100414.18580P-100000@is>
MIME-Version: 1.0
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

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019