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

2018-11-26 Thread Harald Dunkel
Follow-up Comment #7, bug #55095 (project findutils): The "find -printf ." is surely an improvement, but using it on my $HOME it still writes appr 300K on stdout to be read by wc, instead of "302221". ___ Reply to this item at:

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

2018-11-26 Thread Harald Dunkel
Follow-up Comment #5, bug #55095 (project findutils): % cd /tmp % rm -f sample* % touch "sample > 42" % find sample* | wc -l 2 ___ Reply to this item at:

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

2018-11-26 Thread Harald Dunkel
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

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

2018-11-25 Thread Harald Dunkel
URL: Summary: please add "--count" to find Project: findutils Submitted by: harri Submitted on: Sun 25 Nov 2018 04:14:11 PM UTC Category: find Severity: 3 - Normal