[Top][All Lists]

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

[bug #47482] man page example error

From: anonymous
Subject: [bug #47482] man page example error
Date: Mon, 21 Mar 2016 04:14:18 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36


                 Summary: man page example error
                 Project: findutils
            Submitted by: None
            Submitted on: Mon 21 Mar 2016 04:14:17 AM UTC
                Category: find
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.6.0
           Fixed Release: None



The example from the man page (v4.6.0, may be in earlier ones as well)

    find repo/ -exec test -d {}/.svn \; -or \
    -exec test -d {}/.git \; -or -exec test -d {}/CVS \; \
    -print -prune

Should be

    find repo/ \( -exec test -d {}/.svn \; -or \
    -exec test -d {}/.git \; -or -exec test -d {}/CVS \; \) \
    -print -prune

Otherwise the -print and -prune only pertain to the last -exec test -d {}/CVS


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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