Could ARG_MAX be increased?
dimitry at andric.com
Fri Sep 24 08:00:46 PDT 2004
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 183 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040924/3d9c3d6e/attachment.bin
More information about the freebsd-current