Automatic commit. Mon Aug 27 16:00:05 WST 2012
[matches/honours.git] / research / TCS / max_normalise.sh
1 #!/bin/bash
2
3 # Script to normalise sample current based on it's peak value
4
5 maxval=$(grep -v "#.*" $1 | awk "{print \$$2 }" | sort -g | tail --lines=1)
6 #echo $maxval
7 #exit 0
8 grep -v "#.*" $1 | awk "{print \$1\" \"\$$2/$maxval }"

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