[Ben Reser]
> I started this usage with r1421636.  The purpose is to avoid length 
> limitations
> on the argument list not spaces creating problems.  We could change it to 
> just:
> rm -rf subversion/tests/cmdline/svn-test-work/*

Note also, if you _are_ worried about command line length limits, it's
easy to buy yourself a lot more breathing room:

        cd subversion/tests/cmdline/svn-test-work; rm -fr *

Those long subdir prefixes on each filename argument really do add up.


>       find . -name "*.gcda" -o -name "*.gcno" -print0 | xargs -0 rm -f --

Also, while -print0 and xargs -0 are not portable, the find | xargs
pattern itself was made somewhat obsolete by the find...-exec...+,
which I believe is in POSIX.  While find...-exec...';' runs one
instance per file, find...-exec...+, like xargs, processes as many
files at a time as will fit.

Reply via email to