tclear OUTFILE on first output - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
 (HTM) git clone git://src.adamsgaard.dk/sphere
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit 5196046006892029cf4d5623186708646eec4210
 (DIR) parent fd9db5bdc162015ac2545383db615cf26d96f8f4
 (HTM) Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
       Date:   Tue, 26 Aug 2014 10:30:31 +0200
       
       clear OUTFILE on first output
       
       Diffstat:
         M run_diagnostics.sh                  |       4 +++-
       
       1 file changed, 3 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/run_diagnostics.sh b/run_diagnostics.sh
       t@@ -3,10 +3,12 @@
        OUTFILE=diagnostics.txt
        
        function report {
       -    echo "\n### $@ ###" >> $OUTFILE
       +    echo >> $OUTFILE
       +    echo "### $@ ###" >> $OUTFILE
            $@ >> $OUTFILE 2>&1
        }
        
       +date > $OUTFILE
        report ls -lh .
        report ls -lhR src
        report ls -lhR python