Hi

I have created a ticket
https://issues.apache.org/jira/browse/CAMEL-3676

Does anyone know if the regexp could be improved to remove the source
code line, instead of replacing it with empty content?
eg I am looking for a \XXX to indicate remove the line.



On Wed, Feb 16, 2011 at 3:11 PM, Claus Ibsen <claus.ib...@gmail.com> wrote:
> Hi
>
> Many of the Java files in Camel source code have $revision$ tags.
>
> I propose we remove those. It makes comparing branches and files more tricky.
> And the git people told me it also makes some problem there as well.
>
> We got this nice command to remove them
>
> find . -name '*.java' | xargs perl -p -i -e 's/(\@version
> +)?\$Revision: *[0-9]+ *\$//g'
>
>
>
> --
> Claus Ibsen
> -----------------
> FuseSource
> Email: cib...@fusesource.com
> Web: http://fusesource.com
> Twitter: davsclaus
> Blog: http://davsclaus.blogspot.com/
> Author of Camel in Action: http://www.manning.com/ibsen/
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to