svn commit: trunk/busybox

Paul Fox pgf at brightstareng.com
Thu May 11 05:55:33 PDT 2006


rich wrote:
 > On Wed, May 10, 2006 at 10:08:42PM -0400, Mike Frysinger wrote:
 > > On Wednesday 10 May 2006 14:52, Bernhard Fischer wrote:
 > > > +	find . -name .depend'*' -print0 | xargs -0 rm -f
 > > >
 > > > That's IMO not ideal..
 > > > /busybox$ ./busybox find . -name .depend'*' -print0
 > > > BusyBox v1.2.0-pre0 (2006.05.10-18:50+0000) multi-call binary
 > > >
 > > > Usage: find [PATH...] [EXPRESSION]
 > > 
 > > *shrug* doesnt really matter to me
 > 
 > 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.

paul
=---------------------
 paul fox, pgf at brightstareng.com


More information about the busybox mailing list