Writing the Right Copyright dates? Right

Ed says:

There is no way in cvs (or in svn either) to get just the year substituted in so it looks like some perl....

We need to change the copyright line which is at the top of each of our source code files, currently it reads:

 *  Copyright (c) XXXX: Genome Research Ltd.
where XXXX is a number of different dates.

It should all be changed to read:

 *  Copyright (c) 2006 - 2010 Genome Research Ltd.

Be good to report any .c or .h files that don't have a copyright line.

How to do this?

We can use find to pull out all the .c an .h files so that we can process then one by one.

A script can process each file by:

Perhaps it would be simplest to write a shell script to operate the CVS, but surely perl can run commands?

Where and How?

The script will live in the ZMap/scripts directory, as this is for build related functions, and be called 'CopyRight'.

In the interests of a quite life it is recommended that all files should be returned to CVS and ZMap should acheive a clean build before starting.