RE: Could ARG_MAX be increased?

From: Doug White <dwhite_at_gumbysoft.com>
Date: Thu, 23 Sep 2004 10:17:47 -0700 (PDT)
On Thu, 23 Sep 2004, Putinas Piliponis wrote:

> but this is workaround - isn't it ?

No, it's correct design. I have to deal with this at work all the time --
we have a batch processing system that uses "cat *" to feed data into
pipelines and as the dataset sizes has increased we've found places where
it explodes and has to be fixed.  Its a royal PITA.  Do It Right The First
Time and you won't have to worry about it in the future when your system
is handling 100x the data it is now.

Also, find -print0 | xargs -0 will handle files with spaces correctly.

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite_at_gumbysoft.com          |  www.FreeBSD.org
Received on Thu Sep 23 2004 - 15:17:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:13 UTC