Author: bugman
Date: Fri Sep 19 09:40:51 2014
New Revision: 25908
URL: http://svn.gna.org/viewcvs/relax?rev=25908&view=rev
Log:
Created a document which explains how missing copyrights can be found.
Added:
trunk/docs/devel/find_missing_copyrights
Added: trunk/docs/devel/find_missing_copyrights
URL:
http://svn.gna.org/viewcvs/relax/trunk/docs/devel/find_missing_copyrights?rev=25908&view=auto
==============================================================================
--- trunk/docs/devel/find_missing_copyrights (added)
+++ trunk/docs/devel/find_missing_copyrights Fri Sep 19 09:40:51 2014
@@ -0,0 +1,12 @@
+The following is a command which can be used to view all edits by a certain
user (here 'tlinnet') for the entire year. This svn log is then parsed and all
the added and modified files extracted. Each file is then grepped from the
copyright statement, and all copyright statements from the year removed. The
remaining printout lists the files which require a copyright notice update.
+
+svn log -v -r{"2014-01-01 00:00:00"}:{"2014-12-31 00:00:00"} \
+| sed -n '/ | tlinnet | /,/-----$/ p' \
+| grep "^ [AM] " \
+| sort -u \
+| sed 's/ M //g' \
+| sed 's/ A //g' \
+| sed 's/\/trunk\///g' \
+| xargs grep Copyright \
+| grep -v 2014
+
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits