Sadly, I think the only way to do it is:
find openjpa-*/src -path '*/.svn' -prune -o -type f -print | xargs
-e grep -l '@since'
On Aug 30, 2006, at 9:57 AM, Patrick Linskey wrote:
> Hey,
>
> Frustratingly, things like 'grep -l "@since" openjpa-*/src | xargs
> sed ...'
> don't have quite the intended effect, since that search will find
> files in
> the .svn directory. Does anyone know of a clever way to work around
> this
> (other than tossing a 'grep -v .svn' into the middle)? I've screwed
> up my
> .svn files twice so far....
>
> -Patrick
>
> --
> Patrick Linskey
> BEA Systems, Inc.
>
> ______________________________________________________________________
> _
> Notice: This email message, together with any attachments, may
> contain
> information of BEA Systems, Inc., its subsidiaries and
> affiliated
> entities, that may be confidential, proprietary, copyrighted
> and/or
> legally privileged, and is intended solely for the use of the
> individual
> or entity named in this message. If you are not the intended
> recipient,
> and have received this message in error, please immediately return
> this
> by email and then delete it.
|