Follow-up Comment #4, bug #62227 (project findutils):

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

In that case it does not do anything useful, sure. To get something useful we
would need to add more. A minimal example to demonstrate the use of -name /
might be


$ find / ! -name / -prune


This prints all entries in the root directory without recursing, in a way that
should work in any POSIX-compatible implementation of find.


    _______________________________________________________

Reply to this item at:

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

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


Reply via email to