Re: Could ARG_MAX be increased?

From: Thomas Dickey <dickey_at_radix.net>
Date: Fri, 24 Sep 2004 10:40:04 -0400
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

Received on Fri Sep 24 2004 - 12:40:08 UTC

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