Could ARG_MAX be increased?

Daniel O'Connor doconnor at gsoft.com.au
Fri Sep 24 08:32:35 PDT 2004


On Sat, 25 Sep 2004 00:29, Dimitry Andric wrote:
> 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. :)

I was commenting on the pipe to a read inside a while loop (which was neat :)

> 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...

Yeah.. unlikely unless it's a shell script which does strange things tho.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040925/9be57604/attachment.bin


More information about the freebsd-current mailing list