Could ARG_MAX be increased?

Daniel O'Connor doconnor at
Fri Sep 24 06:47:22 PDT 2004

On Fri, 24 Sep 2004 04:16, Giorgos Keramidas wrote:
>  find . -type f | \
>  while read line ;do
>   # Do something with $line
>  done
> 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 :)
(Rare though)

Daniel O'Connor software and network engineer
for Genesis Software -
"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 :

More information about the freebsd-current mailing list