Follow-up Comment #7, bug #54730 (project findutils): You guys are brilliant. Here's some more:
When just one is enough: # find /proc -name 11 -print | wc -l 178 # find /proc -name 11 -print -quit | wc -l 1 Or better yet: Where did I put that file called "needle2"? No reason to keep looking for more after we find it, so we use: $ find / -name needle2 -print -quit _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?54730> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/