Automatic commit. Thu Aug 9 14:00:06 WST 2012
[matches/honours.git] / research / TCS / plot.sh
index 8ce6a8f..5155d4b 100755 (executable)
@@ -8,8 +8,8 @@ ylabel="Counts"
 style="p"
 dir="/home/sam/Documents/University/honours/research/TCS"
 
-title=$(grep "# Title: " $1 | sed 's/# Title: //g')
-comment=$(grep "# Comment:" $1 | sed 's/# Comment: *//1' | head --bytes=100)
+title=$(grep "# Title = " $1 | sed 's/# Title = //g')
+comment=$(grep "# Comment = " $1 | sed 's/# Comment = *//1' | head --bytes=100)
 labels=$(grep -A 1 "# Data:" $1 | tail --lines=1 | sed 's/#//1')
 
 if [ "$title" == "" ]; then

UCC git Repository :: git.ucc.asn.au