Follow-up Comment #2, bug #54730 (project findutils): Yes there should be many examples added.
The syntax error was on purpose. The idea is: use -quit as an emergency brake while perfecting one's find recipe. Let's say of every five adjustments one is a syntax error. In that case one would want it to quit out right away, with no need to repeat the same syntax error on every file in the tree. So that is a good example to use. Though perhaps use python instead of perl, etc. Your "For each file in '/dev', run stat(1)" is good, except I am afraid that the whole thing could be done just using find itself, so perhaps use a test that find couldn't already do. As far as the find: '1': No such file or directory find: '2': No such file or directory example, maybe you can make one where we are not banging around and causing error messages. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?54730> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/