Parallel Programming - Tidied things up
[matches/honours.git] / research / TCS / 2012-08-02 / max_normalise.sh
1 #!/bin/bash
2
3 # Script to normalise sample current based on it's peak value
4
5 maxval=$(awk '{print $3}' $1 | grep -v "[a-z]" | grep -v "-" | sort -g | tail --lines=1)
6 awk "{print \$1\" \"\$2\" \"(\$3/$maxval) }" $1 | grep -v "[a-z]"

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