[bug #65895] Expression order matters?

Andreas Metzler <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <[email protected]>
Follow-up Comment #1, bug #65895 (group findutils):

find(1) has this at the very start

[...] by evaluating the given expression *from left to right*, according to
the rules of precedence

and later an extra warning about -delete:

*ACTIONS*
  _-delete_
         Delete  files  or directories; true if removal succeeded.  If the
         removal failed, an error message is issued and find's exit status
         will be nonzero (when it eventually exits).

         *Warning:* Don't forget that find evaluates the command line as  an
         expression, so putting -delete first will make find try to delete
         everything below the starting points you specified.



    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.