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: findSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Bernhard Voelker <berny>
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: 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 File(s):
   
   
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
  • -unavailable- added by jay (Updated the item)
  • -unavailable- added by berny (Updated the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 22 Mar 2016 10:06:47 PM UTCbernyStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
    Tue 22 Mar 2016 08:44:14 AM UTCjayAssigned toNone=>berny
    Tue 22 Mar 2016 07:18:01 AM UTCbernyAttached File-=>Added 0001-doc-fix-example-in-find.1.patch, #36720
      StatusNone=>In Progress

    Back to the top


    Powered by Savane 3.1-cleanup1