[Swift-commit] r5608 - SwiftApps/SciColSim

wilde at ci.uchicago.edu wilde at ci.uchicago.edu
Mon Feb 13 23:34:00 CST 2012


Author: wilde
Date: 2012-02-13 23:34:00 -0600 (Mon, 13 Feb 2012)
New Revision: 5608

Modified:
   SwiftApps/SciColSim/getparamtrace.sh
Log:
Add param to getparamtrace.sh to specify target_innovation value to trace.

Modified: SwiftApps/SciColSim/getparamtrace.sh
===================================================================
--- SwiftApps/SciColSim/getparamtrace.sh	2012-02-13 23:30:38 UTC (rev 5607)
+++ SwiftApps/SciColSim/getparamtrace.sh	2012-02-14 05:34:00 UTC (rev 5608)
@@ -1,6 +1,7 @@
 #! /bin/sh
 
-grep 'calling evolve' swift.out | grep ,58, | 
+targetinno=${1:-58}
+grep 'calling evolve' swift.out | grep ,$targetinno, | 
   sed -e 's/^.*\[//' \
       -e 's/\]$//' \
       -e 's/,/ /g' \




More information about the Swift-commit mailing list