Re: new module: update-copyright [Re: copyright years: mass-update every January 1

2009-08-12 Thread Akim Demaille
Le 31 juil. 09 à 15:52, Joel E. Denny a écrit : Hi Joel, +# Format within margin. +my $new_wrapped; +my $text_margin = $margin - length($prefix); +while (length($new)) + { +if (($new =~ s/^(.{1,$text_margin})(?: |$)//) +|| ($

Re: new module: update-copyright [Re: copyright years: mass-update every January 1

2009-07-31 Thread Joel E. Denny
On Thu, 30 Jul 2009, Joel E. Denny wrote: > On Thu, 30 Jul 2009, Jim Meyering wrote: > > 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 re

Re: new module: update-copyright [Re: copyright years: mass-update every January 1

2009-07-30 Thread Joel E. Denny
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.

Re: new module: update-copyright [Re: copyright years: mass-update every January 1

2009-07-30 Thread Jim Meyering
Joel E. Denny wrote: > On Wed, 29 Jul 2009, Jim Meyering wrote: > >> Joel E. Denny wrote: >> >> > On Wed, 29 Jul 2009, Jim Meyering wrote: >> > >> >> Joel E. Denny wrote: >> > >> >> > I'd like to use this in Bison. Would you consider contributing >> >> > build-aux/update-copyright to gnulib so we

Re: new module: update-copyright [Re: copyright years: mass-update every January 1

2009-07-29 Thread Joel E. Denny
On Wed, 29 Jul 2009, Jim Meyering wrote: > Joel E. Denny wrote: > > > On Wed, 29 Jul 2009, Jim Meyering wrote: > > > >> Joel E. Denny wrote: > > > >> > I'd like to use this in Bison. Would you consider contributing > >> > build-aux/update-copyright to gnulib so we don't maintain separate > >> >