The FSF announced, at some point in the last two years, that it was OK to automatically add the current year to every source file in the project if any changes were made to the project during the year. In fact, they even recommend it. http://www.gnu.org/prep/maintain/html_node/Copyright-Notices.html This is very boring to do by hand. So, after much head-smacking, here is a script which does it for 99% of GDB. The exceptions are commented. I've attached both the script and its output. I'm not really looking for comments on the script unless someone wants to rewrite it in LISP; it's a modified copyright.el from Emacs CVS, plus a scary shell script. LISP is absolutely not my strong point. Does anyone object to the intention, the script, or the sample output? I've proofed it as well as I can, but the uncompressed diff is 600K. It was definitely quicker than the time I've wasted in the past updating copyright years by hand, even if I did waste most of this evening getting it to work. -- Daniel Jacobowitz CodeSourcery