Re: Could ARG_MAX be increased?

From: Daniel O'Connor <doconnor_at_gsoft.com.au>
Date: Sat, 25 Sep 2004 01:01:08 +0930
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

Received on Fri Sep 24 2004 - 13:32:34 UTC

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