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

 
 

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

Submitted by:  None
Submitted on:  Tue 06 Sep 2005 11:48:21 AM UTC  
 
Category: findSeverity: 3 - Normal
Item Group: NoneStatus: Invalid
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: celfOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 4.2.20
Fixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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.org/software/coreutils/faq/coreutils-faq.html#expr-2-_002a-3-does-not-work

James Youngman <jay>
Project AdministratorIn charge of this item.
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

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 06 Sep 2005 02:52:02 PM UTCjayStatusNone=>Invalid
  Assigned toNone=>jay
  Open/ClosedOpen=>Closed
Tue 06 Sep 2005 11:48:21 AM UTCNoneCarbon-Copy-=>Added asudakov --AT-- sw-soft --DOT-- com

Back to the top


Powered by Savane 3.1-cleanup1