bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Doc bugs in find.info, node "Cleaning Up"


From: Stepan Kasal
Subject: Doc bugs in find.info, node "Cleaning Up"
Date: Fri, 13 Jun 2008 17:53:40 +0200
User-agent: Mutt/1.5.17 (2007-11-01)

Hello,
  the @node Cleaning Up contains the following parahtaph:

---snip---
If your @code{find} command removes directories, you may find that
you get a spurious error message when @code{find} tries to recurse
into a directory that has now been removed.  Using the @samp{-depth}
option will normally resolve this problem.
---snip---

This paragraph is immediately follows two examples, both using -depth
and -delete.  The "spurious error messages" cannot happen with those
commands; I suggest to move the paragraph up, just after the first
example in the node; that example does not use -delete.

Moreover, the second example in the node is introduced as "safer"; I
cannot see why it is safer, you should perhaps expand on that aspect.

(Actually, I'd say that -delete is a dangerous feature compared to
"-print0|xargs -0", because of the trap of implied -depth.)

And that second example uses the -depth option in the middle of the
expression; it should be moved next to the path list.

Attached please find a quick first approximation of a patch.

Attachment: find-doc-delete.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]