Automatic commit. Wed Aug 22 12:00:05 WST 2012
[matches/honours.git] / research / TCS / max_normalise.sh
index 3ef563c..6f1d220 100755 (executable)
@@ -3,4 +3,4 @@
 # Script to normalise sample current based on it's peak value
 
 maxval=$(awk "{print \$$2 }" $1 | grep -v "[a-z]" | grep -v "-" | sort -g | tail --lines=1)
-awk "{print \$1\" \"\$$2/$maxval }" $1 | grep -v "[a-z]"
+awk "{print \$2\" \"\$$2/$maxval\" \"\$1 }" $1 | grep -v "[a-z]"

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