svn commit: trunk/busybox

Rich Felker dalias at aerifal.cx
Thu May 11 18:50:18 UTC 2006


On Thu, May 11, 2006 at 02:40:04PM -0400, Paul Fox wrote:
>  > >  > Just remove the 0, it's nonsense. Filenames do not have embedded
>  > >  > newlines in them! Anyone who creates such stupid filenames deserves
>  > >  > what they get.
>  > > 
>  > > in this case, at least, it protects against spaces in names as
>  > > well, which are a lot more common than newlines.  that being
>  > > said, this isn't a windows or mac development tree.  okay by me
>  > > to drop the 0.
>  > 
>  > protects spaces? how? xargs reads one filename per line, not per word.
> 
> no.  what it reads is whitespace-separated.

oh. how incredibly stupid. then just write a script to do what xargs
should do, or better yet, use the -exec option to find...

rich




More information about the busybox mailing list