Re: Could ARG_MAX be increased?

From: Dimitry Andric <dimitry_at_andric.com>
Date: Fri, 24 Sep 2004 16:59:46 +0200
On 2004-09-24 at 15:45:23 Daniel O'Connor wrote:

>> This and xargs -0 for the cases where filenames can contain whitespace
>> works like a charm anywhere, anytime...

> It's only a pitty that you can have newlines in filenames :)

That shouldn't matter, since the -0 argument to xargs tells it to
expect NUL characters *instead* of spaces or newlines.  As long as NUL
characters aren't allowed in filenames, it should work. :)

Note that there's still a chance that the program actually called by
xargs doesn't handle newlines or other weird characters in filenames
properly, though...

Received on Fri Sep 24 2004 - 13:00:46 UTC

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