Originally Posted By: artie505
I don't quite follow that; does it mean that there's more that wasn't listed?

Maybe. [i don't quite know if there is always a "definitive" answer there, but it's possible (i would think).]

Try it the other way, using {} \; instead of {} +

Or, just direct the output to a file maybe:

find /usr -type f -size -1c -not -path '*/groff/*' > ~/Desktop/results.txt

There we skip the ls part and just look at raw pathnames only (since we trust the search parameters now, and we've seen the listing already).

Then you can count the lines in that file:

wc -l ~/Desktop/results.txt

If that adds up to more than 138 +1803 (or 1941), then yeah... something got dropped.

--

EDIT: of course we could be real lazy and just do this right in Terminal:

find /usr -type f -size -1c -not -path '*/groff/*' |wc -l

But -- if that doesn't match what happened before -- you'll want that results.txt file anyway.

Last edited by Hal Itosis; 05/31/10 05:59 AM.