bugfindutils - Bugs: bug #14696, failure of find to search the...


bug #14696: failure of find to search the filetree properly

Submitter:  None
Submitted:  Mon 03 Oct 2005 11:10:04 AM UTC
Category:  find Severity:  3 - Normal
Item Group:  Wrong result Status:  Invalid
Privacy:  Public Assigned to:  jay
Originator Name:  mimis koltsakis Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  4.2.19
Fixed Release:  None
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Mon 03 Oct 2005 11:05:41 PM UTC, comment #1: 

It's not an erroneous result.

find is working perfectly, you have just misunderstood how your shell works.  It's expanding the wildcard that you gave on the command line.  You should protect the wildcard by quoting it - read the section in the findutils documentation about "-name".    You may also find it helpful to read a book that explains the basics of using the Unix shell. 

James Youngman <jay>
Project Administrator
Mon 03 Oct 2005 11:10:04 AM UTC, original submission:  

I was disconcerted to get the following (erroneous) result:

#### searching files ending in -comm from my home-dir:
mimis-9.2@goldberg:~> find . -name *.comm | grep learning

#### descending into learning/aster causes "find" to fail descending into the tree (dirs try1, try2, try3 etc - only the file xxx1.comm is located)
mimis-9.2@goldberg:~> cd learning/aster/
mimis-9.2@goldberg:~/learning/aster> find . -name *.comm

#### my find version:
mimis-9.2@goldberg:~/learning/aster> find --version
GNU find version 4.2.19

#### my linux version (SuSE 9.3):
mimis-9.2@goldberg:~/learning/aster> uname -a
Linux goldberg #1 Wed Mar 23 21:52:37 UTC 2005 i686 i686 i386 GNU/Linux



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.





Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-10-03 jay StatusNone Invalid
    Assigned toNone jay
    Open/ClosedOpen Closed
2005-10-03 None Carbon-Copy- Added mkolts --AT-- civil --DOT-- auth --DOT-- gr

Back to the top

Powered by Savane 3.9