Note that there is a proposed patch to grep to address this sort of
problem. You can vote for it (registration required) at:
On Aug 30, 2006, at 10:20 AM, Eddie O'Neil wrote:
Something like this might be handy:
find . ! ( -path "*/.svn/*" ) -exec sed ... ; -print
as it won't descend into .svn directories. Or something that just
greps "*.java" extensions since SVN stores its work files as
find . -name "*.java" -exec sed ... ; -print
These have scaled pretty well for me in big code bases.
On 8/30/06, Patrick Linskey <[EMAIL PROTECTED]> wrote:
Frustratingly, things like 'grep -l "@since" openjpa-*/src | xargs
don't have quite the intended effect, since that search will find
the .svn directory. Does anyone know of a clever way to work
(other than tossing a 'grep -v .svn' into the middle)? I've
screwed up my
.svn files twice so far....
BEA Systems, Inc.
Notice: This email message, together with any attachments, may
information of BEA Systems, Inc., its subsidiaries and
entities, that may be confidential, proprietary, copyrighted
legally privileged, and is intended solely for the use of the
or entity named in this message. If you are not the intended
and have received this message in error, please immediately return
by email and then delete it.