|
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 |
URL: <http://savannah.gnu.org/bugs/?47482> 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 _______________________________________________________ Details: 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: <http://savannah.gnu.org/bugs/?47482> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |