On Thu, Aug 22, 2019 at 12:37:28PM +0200, Klemens Nanni wrote:
> We support -delete since the following and I see no reason to prefer the
> current examples for the very same reasons tedu already outlined:
> 
>       find.c revision 1.21
>       date: 2017/01/03 21:31:16;  author: tedu;  state: Exp;  lines: +10 -4;
>       add -delete option which can simplify the common case of wanting to 
> delete
>       lots of files without the arcane -exec or error prone xargs.
>       code from freebsd.
>       ok millert
> 
> CAVEATS even goes into detail wrt. removing special files, so no
> information seems to be lost with this diff.

I think it's mostly a matter of portability but also of taste.

If I remember correctly, doing something like what you suggest (and
other tweaks to the examples) was discussed and rejected  at the time
the -delete option was added:
https://marc.info/?l=openbsd-tech&m=148342051832692&w=2

Reply via email to