Re: [debian-mentors] config.sub and config.guess | .diff.gz bloat
On Mon, Nov 10, 2003 at 01:57:17PM +0000, Andreas Metzler wrote:
> Geert Stappers <stappers@stappers.nl> wrote:
> > On Mon, Nov 10, 2003 at 11:50:09AM +0000, Magos?nyi ?rp?d wrote:
> >> A levelezõm azt hiszi, hogy Andreas Metzler a következõeket írta:
> >> > Two things:
> >> > Does -name config.{log,status,cache} actually work for you? It doesn't
> >> > do for me:
> >> []
> >> >
> >> > Never ever use "|xargs rm -f".
>
> >> Thank you. Is it okay now?
>
> >> --- orig/debian/rules
> >> +++ mod/debian/rules
> > [still dangerous "|xargs rm -f" code]
> [...]
>
> Where? I only see "find -print0 | xargs -0r rm" which is safe.
Oops, an other one that could be offended: Sorry.
find . -name exact-name-of-file | xargs rm -f
or
find . -name exact-name-of-file -print0 | xargs -0r rm -f
can be reduced to
rm -f exact-name-of-file
My message is: avoid surprises from find.
> cu andreas
Geert Stappers
Reply to: