Could ARG_MAX be increased?

Thomas Dickey dickey at radix.net
Fri Sep 24 07:40:08 PDT 2004


On Fri, Sep 24, 2004 at 11:15:23PM +0930, Daniel O'Connor wrote:
> 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)

for something like that I'd do the renaming with my directory editor.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040924/97f0a1a2/attachment.bin


More information about the freebsd-current mailing list