a1ab4c8a2d1a — russes02 12 years ago
scripts: safer parsing
1 files changed, 1 insertions(+), 1 deletions(-)

M scripts/memuse
M scripts/memuse +1 -1
@@ 13,7 13,7 @@ fi
 BASE=$1
 DAT=$BASE/mem.dat
 
-awk '/memory/ {print $1" "$2","$4","$5","$7","$8}' < $BASE/errs.txt > $DAT
+awk '/^[0-9]+\/[0-9]+\/[0-9]+ [0-9]+:[0-9]+:[0-9]+ memory/ {print $1" "$2","$4","$5","$7","$8}' < $BASE/errs.txt > $DAT
 
 gnuplot <<EOF
 set datafile separator ","