commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r9851 - trunk/gnue-common/utils


From: jcater
Subject: [gnue] r9851 - trunk/gnue-common/utils
Date: Thu, 3 Jan 2008 11:27:27 -0600 (CST)

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' "{}" \;
+
+





reply via email to

[Prev in Thread] Current Thread [Next in Thread]