Follow-up Comment #1, bug #52558 (project findutils):
Perhaps in case of -follow option (and without -L) the consistent way should
be:
<pre>find . -type l -printf '%p -- %l\n' -follow</pre>
I.e. -type in place of -xtype (for the moment it doesn't work).
Because the only options after -follow should consider the object of symlink,
but all the options before -follow should consider the symlink itself.
Citation from the manual:
1. "any symbolic links appearing after -follow on the command line will be
dereferenced, and those before it will not"
2. "Similarly, the -type predicate will always match against the type of the
file that a symbolic link points to rather than the link itself."
So, -type before -follow should match against type of the file itself.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52558>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/