[cig-commits] r15845 - doc/geodynamics.org/benchmarks/trunk

luis at geodynamics.org luis at geodynamics.org
Mon Oct 19 12:34:22 PDT 2009


Author: luis
Date: 2009-10-19 12:34:21 -0700 (Mon, 19 Oct 2009)
New Revision: 15845

Added:
   doc/geodynamics.org/benchmarks/trunk/diff.sh
Log:
Added script diff.sh

This bash script will list a diff for of the pages
that have changed content (changes in metadata are not
detected here).

Added: doc/geodynamics.org/benchmarks/trunk/diff.sh
===================================================================
--- doc/geodynamics.org/benchmarks/trunk/diff.sh	                        (rev 0)
+++ doc/geodynamics.org/benchmarks/trunk/diff.sh	2009-10-19 19:34:21 UTC (rev 15845)
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Detect any changes between local source files and the
+# corresponding source files inside our _latest folder.
+#
+diffcmd=colordiff
+for file in `cat sources.txt`; do
+    ${diffcmd} -u ${file} ./_latest/${file##./}
+done


Property changes on: doc/geodynamics.org/benchmarks/trunk/diff.sh
___________________________________________________________________
Name: svn:executable
   + *



More information about the CIG-COMMITS mailing list