bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #55095] please add "--count" to find


From: Harald Dunkel
Subject: [bug #55095] please add "--count" to find
Date: Mon, 26 Nov 2018 03:05:22 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]