bugfindutils - Bugs: bug #47482, man page example error

 
 

bug #47482: man page example error

Submitter:  None
Submitted:  Mon 21 Mar 2016 04:14:17 AM UTC
   
 
Category:  find Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  berny
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  4.6.0
Fixed Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 22 Mar 2016 07:18:01 AM UTC, comment #1: 

Thanks for the report.
Patch attached - pushing soon.

Have a nice day,
Berny


(file #36720)

Bernhard Voelker <berny>
Group administrator
Mon 21 Mar 2016 04:14:17 AM UTC, original submission:  

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 \;

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #36720:  0001-doc-fix-example-in-find.1.patch added by berny (948B - text/x-patch - [PATCH] doc: fix example in find.1)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jay (Updated the item)
  • -email is unavailable- added by berny (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-03-22 berny StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2016-03-22 jay Assigned toNone berny
    2016-03-22 berny Attached File- Added 0001-doc-fix-example-in-find.1.patch, #36720
        StatusNone In Progress

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code