On Thu, 30 Jul 2009, Jim Meyering wrote: > Thank you!
Thank you. :) > Here's an incremental change I'm about to fold into yours. > It changes "comment" to "prefix" and adjusts syntax. Makes sense. > There remains at least one infelicity: if someone discusses > the Copyright (C) notation (e.g., as on this line), and later > has the copyright-with-dates line, the prefixes may not match. > We could require that the Copyright...holder (and hence prefix) > are all in proximity, but that may not be worth the trouble. The current behavior is a little unintuitive in other similar ways as well. For example, if "Copyright (C)" isn't recognized anywhere and thus no comment sequence is recognized, the script still looks for an occurrence of the copyright year and holder to adjust. Thus, the script handles "Copyright @copyright{}" only when it's not in comments. I'd rather it be consistent by not handling it at all or handling it completely. I'm working on a patch to fix all of the above and to automatically format the result to 72 columns. I'll try to post a patch soon.