On 07/19/11 05:52, Greg Ercolano wrote:
>>
>>>>    Great, I've made STR#2685 and assigning it to myself.
>>>
>>> Big thank you for volunteering for such a big task. One question
>>> though: are we (you) going to do this for 1.3, 3.0, or both? ;-)
>>
>> I guess both in the longer term, but we do 1.3 first... and it appears
>> Greg would agree, as he's taken a big chunk out of the 1.3 ones already!
> 
>    Right -- I think I got em all in 1.3.

   [ah, disregard last post. Was using the web form instead of my
    usual newsreader, and of course I typed a tab+space which posted
    the text while I was editing.. meh. Probably a big cause of the
    multiple posts we see from new users]

   For anyone doing this in the future, some breadcrumbs:

   I think my favorite 'do everything' command was something like:

vi `grep -r //.This.library.is.free . | grep -v /\.svn/ | grep -v Binary | cut 
-d: -f1 | uniq`

   ..and using a repeat (.) of a "c14j" command to change the 14 lines
   of the license header to the new text, and a keyboard macro for
   :w and :n. So pretty much it was hitting two keys to edit each file,
   and adjusting the macro a bit when files differed.

   The rest is just eye-balling to make sure the edit looks right,
   (since license formats and commenting styles differed a bit).

   Then ran a 'grep -r WARRANTY' (the text I removed) to make sure there
   weren't any un-edited stragglers.

   The different comment styles I encountered were '#', '*', //, "dnl"
   (Makefiles, C files, C++ files, and doxygen or something for "dnl")
   There were a few others.

   Did a little at a time, then did something else, then did a little
   more. Then did a few 'svn diff' checks to make sure things looked
   right.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to