JJ: fix FSF email addresses

Nicolas Goutte nicolasg at snafu.de
Sat Dec 3 22:26:01 GMT 2005


I have a nice task for a newbie developer (probably for one with a write-acess 
to KDE SVN on a rather fast connection).

The task is to fix all the FSF addresses that are still wrong in trunk or in 
branches/KDE/3.5


The following steps can be used (each step is one line):

find . -name .svn -prune , -type f | xargs fgrep -l Temple | xargs sed -i -e 
"s/59 Temple Place,/51 Franklin Street,/"

find . -name .svn -prune , -type f | xargs fgrep -l Temple | xargs sed -i -e 
"s/59 Temple Place -/51 Franklin Street,/"

find . -name .svn -prune , -type f | xargs fgrep -l Suite | xargs sed -i -e 
"s/Suite 330,/Fifth Floor,/"

find . -name .svn -prune , -type f | xargs fgrep -l 02111 | xargs sed -i -e 
"s/02111-1307/02110-1301/"

(You need a sed program that supports the -i parameter, which writes on place 
(and makes a backup of the file).)

After you have done the steps to change the addresses, you should better check 
for parts of the FSF address, like:

find . -name .svn -prune , -type f | xargs fgrep  Temple 

find . -name .svn -prune , -type f | xargs fgrep  Suite


All those remaining need to be fixed by hand (for example with Kate).

Before you commit, you should try to see with
svn diff|less
if the change looks right.

I have already done:
trunk/KDE/kdelibs
branches/KDE/3.5/kdelibs/kdoctools

Of course, developers are invited to fix their files in the same way as 
described here.

Have a nice day!

PS.: no, I am not telling that they are the most simple way of fixing the 
addresses. It is just one way.





More information about the kde-core-devel mailing list