bugfindutils - Bugs: bug #14445, incorrect search depending on...

 
 

bug #14445: incorrect search depending on location in filesystem.

Submitter:  None
Submitted:  Tue 06 Sep 2005 11:48:21 AM UTC
   
 
Category:  find Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Invalid Privacy:  Public
Assigned to:  jay Originator Name:  celf
Originator Email:  -email is unavailable- Open/Closed:  Closed
Release:  4.2.20 Fixed Release:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Tue 06 Sep 2005 02:52:02 PM UTC, comment #1: 

It's not a bug.  You've just misunderstood what's happening.  As the documentation for find states, you need to protect wildcards from expandion by the Unix shell.  Add an "echo" to the front of the commands you use to understand more fully what is happening.  See also the explanation at http://www.gnu.or ... a-3-does-not-work

James Youngman <jay>
Group administrator
Tue 06 Sep 2005 11:48:21 AM UTC, original submission:  

incorrect search:
    - not all files can be found;
    - depending on location in filesystem.

test case:
-----------------
1.
I have next directory structure:
--snip
[celf@asudakov scripts]$ ls -R /home/celf/scripts
/home/celf/scripts:
ba  cc

/home/celf/scripts/ba:
hspc-import-ba.pl  qtest.xml

/home/celf/scripts/cc:
hspc-import-cc.pl  issue  qtest.xml  test1.xml  test2.xml  test.xml  wtest.xml
--snap

2.
when "I'm standing" in /home/celf directory I have:
--snip
[celf@asudakov ~]$ pwd
/home/celf
[celf@asudakov ~]$ find /home/celf/scripts/ -name import
/home/celf/scripts/ba/hspc-import-ba.pl
/home/celf/scripts/cc/hspc-import-cc.pl
--snap

3. when "I'm standing" in /home/celf directory I have:
--snip
[celf@asudakov cc]$ pwd
/home/celf/scripts/cc
[celf@asudakov cc]$ find /home/celf/scripts/ -name import
/home/celf/scripts/cc/hspc-import-cc.pl
--snap

4.
in short second file wasn't found.
-------------

Anonymous

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

 

Votes

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.

 

History

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-09-06 jay StatusNone Invalid
    Assigned toNone jay
    Open/ClosedOpen Closed
2005-09-06 None Carbon-Copy- Added asudakov --AT-- sw-soft --DOT-- com

Back to the top

Powered by Savane 3.16-ed84.
Corresponding source code