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

 
 

bug #47482: man page example error

Submitted by:  None
Submitted on:  Mon 21 Mar 2016 04:14:17 AM UTC  
 
Category:  find Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  Bernhard Voelker <berny>
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  4.6.0
Fixed Release:  None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project MemberIn charge of this item.
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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    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.3