[bug #52558] find does not print symlink object in case of follow symbolic links

2017-11-30 Thread Ruvim
URL: Summary: find does not print symlink object in case of follow symbolic links Project: findutils Submitted by: ruv Submitted on: Thu 30 Nov 2017 11:15:09 AM UTC Category: find

[bug #52558] find does not print symlink object in case of follow symbolic links

2017-11-30 Thread Ruvim
Follow-up Comment #1, bug #52558 (project findutils): Perhaps in case of -follow option (and without -L) the consistent way should be: find . -type l -printf '%p -- %l\n' -follow I.e. -type in place of -xtype (for the moment it doesn't work). Because the only options after -follow should conside

[bug #52558] find does not print symlink object in case of follow symbolic links

2017-11-30 Thread Ruvim
Follow-up Comment #3, bug #52558 (project findutils): Yes, in case of -L option the behavior conforms the documentation. I just said that it seems not so useful (and maybe unexpected without careful investigation of the documentation). But what about -follow option that is after -print and after

[bug #52558] find does not print symlink object in case of follow symbolic links

2017-12-01 Thread Ruvim
Follow-up Comment #5, bug #52558 (project findutils): @worley, nevertheless in some cases the results can be different: for example, if 'b' is directory that contains another symlinks "x" and "y" that point to some files, the result with -follow could be: ./b -- a ./b/x -- x1 ./b/y -- y1 It shou

[bug #52558] find does not print symlink object in case of follow symbolic links

2017-12-01 Thread Ruvim
Follow-up Comment #6, bug #52558 (project findutils): misprint: "if 'b' is directory" should be read as "if 'a' is directory". ___ Reply to this item at: ___

[bug #52558] find does not print symlink object in case of follow symbolic links

2017-12-02 Thread Ruvim
Follow-up Comment #8, bug #52558 (project findutils): It seems obvious that all the operations after -follow are affected by this -follow and are fully processed. The question is why the operations before -follow are affected by it? It seems to be a bug. Another question that can arise — what ab