summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Voelker <mail@bernhard-voelker.de>2016-03-22 08:14:44 +0100
committerBernhard Voelker <mail@bernhard-voelker.de>2016-03-22 08:14:44 +0100
commit47d8fd38f70f7865058d84e27b14a71cc4b4e951 (patch)
treef84fd2909a1153351ba01453b6b0d4bc311737fb
parent19f6f691de4f41b4af76c33782a96f191378830a (diff)
downloadfindutils-47d8fd38f7.tar.gz
doc: fix example in find.1
* find/find.1 (EXAMPLES): In the example to skip SCM administrative directories, parenthesize "\( ... \)" the ORed tests. Otherwise, only the SCM roots matching the last test, "CVS", are printed. Reported in http://savannah.gnu.org/bugs/?47482
-rw-r--r--find/find.14
1 files changed, 2 insertions, 2 deletions
diff --git a/find/find.1 b/find/find.1
index cb2ff19..c948b4b 100644
--- a/find/find.1
+++ b/find/find.1
@@ -2063,8 +2063,8 @@ what is going on.
.P
.nf
-.B find repo/ -exec test -d {}/.svn \e; -or \e
-.B -exec test -d {}/.git \e; -or -exec test -d {}/CVS \e; \e
+.B find repo/ \e( -exec test -d {}/.svn \e; -or \e
+.B -exec test -d {}/.git \e; -or -exec test -d {}/CVS \e; \e) \e
.B -print -prune
.fi