[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Use find ... | xargs rm -f instead of find ... -delete
From: |
Matthias Kilian |
Subject: |
Re: [PATCH] Use find ... | xargs rm -f instead of find ... -delete |
Date: |
Wed, 30 Dec 2009 20:50:07 +0100 |
User-agent: |
Mutt/1.4.2.3i |
On Wed, Dec 30, 2009 at 09:59:51AM +0100, David Kastrup wrote:
> >>> find $(outdir)/offline-root -type -l -exec rm -f -- '{}' +
[...]
> >> Well, if that's part of POSIX, then adding it can't be a bad
> >> thing. :)
> >
> > Isn't AFAIK.
>
> The '+' thing appears to be POSIX if I am reading the GNU documentation
> correctly. I have my doubts regarding the veracity of this information
> (but one could look that up),
http://www.opengroup.org/onlinepubs/9699919799/utilities/find.html
> and about how widely it is implemented.
Free- and NetBSD implement it, all GNU-based Linuxes (and cygwin)
are using GNU find. MacOS X uses large parts of FreeBSD userland,
so it should support that feature, too (someone should check this).
I'll try to unslack and implement it for OpenBSD. If all else fails,
I can maintain a local patch in my LilyPond port for OpenBSD that
still uses xargs.
For other systems (OpenSolaris, older Solarises and SunOS, HPUX,
AIX, IRIX, ...) I'd like to hear from anyone who at least tried to
build LilyPond (and required tools and libraries) on them.
Ciao,
Kili