Removing $Id$

Chris Johns chrisj at rtems.org
Thu May 3 23:53:37 UTC 2012


On 3/05/12 11:39 PM, Joel Sherrill wrote:
> HI
>
> I have hacked together a sed script which I think will
> handle almost all of the source code. I think it handles
> enough to catch nearly all of the source files
>
> + $Id$ embedded in C comment
> - handles $Id followed or preceded by line with " *"
> + C++ style $Id$
> + Single line C style comment with $Id$
> + $Id$ embedded in Ada comment
> - handles $Id followed or preceded by line with "--"
> + $Id$ embedded in Texinfo comment
> - only preceded by @c since that appears to be only use
>
> I do not know what to do with *.am, *.ac, *.m4 etc which start
> with something like this and have no meat in the comments.
>
> ====
> <comment_symbol>
> <comment_symbol> $Id$
> <comment_symbol>
>
> ====
>
> <comment_symbol> may be #, ##, or dnl from what I
> see
>
> Since there is no meat to these comments. I am prone to delete
> the four line block entirely.
>
> Comments?
>

I agree, delete the four line block.

Chris



More information about the devel mailing list