[bug #62259] find(1) manpage prune example error

James Youngman <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <[email protected]>
Follow-up Comment #1, bug #62259 (project findutils):

Confirmed:

horizon:~/tmp/find-example-bug-62259$ for d in repo/project1/CVS    
repo/gnu/project2/.svn repo/gnu/project3/.svn repo/gnu/project3/src/.svn
repo/project4/.git; do mkdir -p "$d" && touch "$d"/somefile ; done
horizon:~/tmp/find-example-bug-62259$ find repo/ \
        \( -exec test -d '{}/.svn' \; \
        -or -exec test -d '{}/.git' \; \
        -or -exec test -d '{}/CVS' \; \
        \) -print -prune
repo/project4
repo/project1
repo/gnu/project2
repo/gnu/project3
horizon:~/tmp/find-example-bug-62259$ find repo -ls
  1459999      1 drwxr-xr-x   5 james    james           5 Apr  6 22:43 repo
  1460014      1 drwxr-xr-x   3 james    james           3 Apr  6 22:43
repo/project4
  1460015      1 drwxr-xr-x   2 james    james           3 Apr  6 22:43
repo/project4/.git
  1460016      1 -rw-r--r--   1 james    james           0 Apr  6 22:43
repo/project4/.git/somefile
  1460000      1 drwxr-xr-x   3 james    james           3 Apr  6 22:43
repo/project1
  1460001      1 drwxr-xr-x   2 james    james           3 Apr  6 22:43
repo/project1/CVS
  1460002      1 -rw-r--r--   1 james    james           0 Apr  6 22:43
repo/project1/CVS/somefile
  1460003      1 drwxr-xr-x   4 james    james           4 Apr  6 22:43
repo/gnu
  1460004      1 drwxr-xr-x   3 james    james           3 Apr  6 22:43
repo/gnu/project2
  1460005      1 drwxr-xr-x   2 james    james           3 Apr  6 22:43
repo/gnu/project2/.svn
  1460006      1 -rw-r--r--   1 james    james           0 Apr  6 22:43
repo/gnu/project2/.svn/somefile
  1460007      1 drwxr-xr-x   4 james    james           4 Apr  6 22:43
repo/gnu/project3
  1460008      1 drwxr-xr-x   2 james    james           3 Apr  6 22:43
repo/gnu/project3/.svn
  1460009      1 -rw-r--r--   1 james    james           0 Apr  6 22:43
repo/gnu/project3/.svn/somefile
  1460011      1 drwxr-xr-x   3 james    james           3 Apr  6 22:43
repo/gnu/project3/src
  1460012      1 drwxr-xr-x   2 james    james           3 Apr  6 22:43
repo/gnu/project3/src/.svn
  1460013      1 -rw-r--r--   1 james    james           0 Apr  6 22:43
repo/gnu/project3/src/.svn/somefile



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62259>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.