[bug #65895] Expression order matters?

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

Sorry I didn't make myself clear enough. I wasn't suggesting that "find .
-delete" stop working. I was suggesting that it become an error for -delete to
be followed by one or more pure predicate options (e.g. -name) but no
side-effect options (e.g. -exec). It's not the same thing, since such commands
would never have been intentional or valid. Even if someone did want to delete
all files and list a subset of them (for example), they would find that that
didn't work, presumably because the files are deleted before their names are
checked (I just tried "touch a b c; find . -delete -name a" and there was no
output but I expected it to output "./a" if there was any point in having pure
predicate options after -delete).


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCZphfHwAKCRCqLAuaBUf3
TtH3AP9u/jGiWoDsRix47v9gCjMvJ/PgKXLrcquLdRovHMlICAEAjtPUSXzp2aYk
QPgZ6MpY6zI7QaQRFXp6ARphsIrrYAU=
=BBjw
-----END PGP SIGNATURE-----
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.