On Monday 19 February 2007, Simon Stelling wrote: > Mike Frysinger wrote: > > every use of find | xargs in there should be fixed to use find -print0 | > > xargs -0 > > The second one, yes, that's fixed now. The first one, no, cause egrep > wouldn't like it. The xargs -d' > ' ensures that \n instead of a simple space is used as delimiter. If > some package really installs files with a newline character in its name, > well, then that package is just not worth including in emul-packages.
i'd point out that grep does have an option for dealing with NUL delimited data (-z), but that isnt POSIX so the bsd guys would prob complain :P that said, the syntax you're using is ugly: xargs -d' ' replace that with: xargs -d $'\n' -mike
pgpbFF7U3vpij.pgp
Description: PGP signature