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 mind that the -name pattern must never contain a slash.
Hence to issue a warning is a good thing IMO.

So for my understanding:
if 'find / -prune -name /' boils down to 'echo /', then what is
the real use case behind?


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62227>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply via email to