On Mar 3, 2000, Bernard Dautrevaux <[EMAIL PROTECTED]> wrote:
>> From: Jim Meyering [mailto:[EMAIL PROTECTED]]
>>
>> Your arguments don't hold water.
Indeed :-)
> This problem is NOT with xargs; it's with the generated command line
> (which is usually limited to 10240 characters by the underlying
> system).
Yup
> Hopefully the solution IS in xargs: just use for example "find
> <something> | xargs -n10 <whatever you need to do>"
Yup, or -s10240, which actually limits the size of the command line
xargs runs, without imposing additional overheads. But then, you'd
have to test whether xargs supports `-n' or `-s'.
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/ Enjoy Guaraná
Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me