Follow-up Comment #3, bug #55095 (project findutils):
I think you missed the "do it well" part. Using --print to feed the pipe you
create a terrible overhead, compared to an internal i++. find has to obtain
the file names and call write to copy each one to stdout. Not to mention that
the shell has to establish the pipe, search "wc", and run it to read each
line, call i++ and forget each line.
I am not asking anybody to give up his favorite pipe constructs, but IMHO an
option "--count" would be an improvement to find.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55095>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/