Argument list too long

Warren Block wblock at wonkity.com
Sat Mar 9 01:41:42 UTC 2013


On Fri, 8 Mar 2013, Chris Rees wrote:

> > For fun, after running each of these several times to preload cache:
> >
> > find /usr/ports -type f -print0 | xargs -0 grep -H "X-PHP-Script"
> > 40.98 seconds (average)
> >
> > find /usr/ports -type f -exec grep -H "X-PHP-Script" {} \+
> > 42.27 seconds (average)
> >
> > So they aren't too different in performance.
> 
> The \+ form I have also found impossible to achieve in csh, which is why I never recommend it.

Do you mean in scripted form?  It works in interactive csh, that's what 
I used for this test.


More information about the freebsd-fs mailing list