[bug #62227] Incorrect warning for -name /

2022-03-28 Thread Bernhard Voelker
Follow-up Comment #3, bug #62227 (project findutils): I'm just a bit reluctant because '-name /' will really only find a match if "/" is given as starting point (which we don't know at the time of parsing the expression tree). In all other cases it is better for a user to keep the simple rule in m

[bug #62227] Incorrect warning for -name /

2022-03-28 Thread anonymous
Follow-up Comment #2, bug #62227 (project findutils): [comment #1 comment #1:] > I personally like to get such a warning, as one should try to use -name/-iname > with patterns for basenames only, and I think that the use case 'find / -prune -name /' > is quite exotic (and I would never have tried

[bug #62227] Incorrect warning for -name /

2022-03-28 Thread Bernhard Voelker
Update of bug #62227 (project findutils): Status:None => In Progress Assigned to:None => berny ___ Follow-up Comment #1: It's true: even a