cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/12/10:15:31

From: Davin Max Pearson <d DOT pearson AT ext DOT canterbury DOT ac DOT nz>
Newsgroups: comp.os.msdos.djgpp
Subject: Problem with find
Date: 12 Aug 1999 23:32:48 +1200
Organization: University of Canterbury
Lines: 30
Message-ID: <wkaerxtesf.fsf@wibble.zibble>
NNTP-Posting-Host: exti141.tacacs.canterbury.ac.nz
X-Newsreader: Gnus v5.3/Emacs 19.34
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I have got the following problem with find:

Suppose I want to find all my files ending
with ".cc", so I go into BASH and type:

find . -name '*.cc'

This works fine as long as there are no .cc
files in the current directory.  BUT, if say
there is a file called "test.cc" in the
current directory, then find no longer
correctly finds all files ending in ".cc",
but, rather, all files called "test.cc".

----

I should remark that find works fine
under the Dos prompt (COMMAND.COM)...

----

Hopefully my description of the problem
can be reproduced on someone else's machine...

If so, Is this a bug with find,
 or is this a mistake on my part?

Cheers,
Davin Pearson      davin_pearson AT yahoo DOT com

- Raw text -


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