bugfindutils - Bugs: bug #14376, -follow -type l returns no results...

 
 

bug #14376: -follow -type l returns no results (when it should)

Submitted by:  None
Submitted on:  Fri 02 Sep 2005 06:14:26 PM UTC  
 
Category: documentationSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Drew Van ZandtOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 4.2.24
Fixed Release: 4.2.25

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 02 Sep 2005 08:53:24 PM UTC, comment #3:

I have clarified the Texinfo and manpage documentation somewhat, and among other things the description of -type indicates to the reader that if they are interested in findding symbolic links when -L is in effect, they need to use -xtype.

James Youngman <jay>
Project AdministratorIn charge of this item.
Fri 02 Sep 2005 06:26:56 PM UTC, comment #2:

No, that's the correct behaviour. The -follow option causes find to dereference all symblic links. That means that the -type test considers "linkfile" to be be a vanilla file, since the link is dereferenced. If you want to use -follow (or -L) but still check the type of unbroken symbolic links, use the -xtype test.

Did you get an impression different to the above from reading the documentation? If so, that's a bug in the documentation - please point out the bit of the documentation that needs fixing.

James Youngman <jay>
Project AdministratorIn charge of this item.
Fri 02 Sep 2005 06:16:33 PM UTC, comment #1:

FYI:
# find --version
GNU find version 4.1.20
# uname -a
Linux cam 2.4.27-2-386 #1 Mon May 16 16:47:51 JST 2005 i686 GNU/Linux

Anonymous
Fri 02 Sep 2005 06:14:26 PM UTC, original submission:

mkdir followtest
touch test/realfile
ln -s test/realfile test/linkfile
find . -type l
find . -follow -type l

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 9 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 03 Sep 2005 11:41:53 AM UTCjayOpen/ClosedOpen=>Closed
  ReleaseNone=>4.2.24
  Fixed ReleaseNone=>4.2.25
Fri 02 Sep 2005 08:53:52 PM UTCjayItem GroupWrong result=>None
Fri 02 Sep 2005 08:53:24 PM UTCjayCategoryfind=>documentation
  StatusInvalid=>Fixed
Fri 02 Sep 2005 06:26:56 PM UTCjayStatusNone=>Invalid
  Assigned toNone=>jay
Fri 02 Sep 2005 06:14:26 PM UTCNoneCarbon-Copy-=>Added drew --DOT-- vanzandt --AT-- gmail --DOT-- com

Back to the top


Powered by Savane 3.1-cleanup1