Author: jcater
Date: 2008-01-03 11:27:27 -0600 (Thu, 03 Jan 2008)
New Revision: 9851
Added:
trunk/gnue-common/utils/fix-copyright
Log:
added my fix-copyright script
Added: trunk/gnue-common/utils/fix-copyright
===================================================================
--- trunk/gnue-common/utils/fix-copyright 2008-01-03 17:21:25 UTC (rev 9850)
+++ trunk/gnue-common/utils/fix-copyright 2008-01-03 17:27:27 UTC (rev 9851)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+# This needs to be run from the base "gnue" directory
+
+find . -name '*.py' -exec sed -i 's/Copyright \([0-9][0-9][0-9][0-9]\).* Free Software Foundation/Copyright \1-2008 Free Software Foundation/g' "{}" \;
+find . -name '*.txt' -exec sed -i 's/Copyright \([0-9][0-9][0-9][0-9]\).* Free Software Foundation/Copyright \1-2008 Free Software Foundation/g' "{}" \;
+find . -name '*.xml' -exec sed -i 's/Copyright \([0-9][0-9][0-9][0-9]\).* Free Software Foundation/Copyright \1-2008 Free Software Foundation/g' "{}" \;
+
+
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.