comparison chromeister/bin/make-mean.sh @ 0:7fdf47a0bae8 draft

Uploaded
author alvarofaure
date Wed, 12 Dec 2018 07:18:40 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:7fdf47a0bae8
1 #!/usr/bin/env bash
2 # Use in folder prior to all folders!
3
4 BINDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
5
6 for i in *; do
7
8
9 $BINDIR/generate-one-score.sh $i/index-$i.csv 0.2
10 value=$(awk '{sum+=$2} END { print sum/NR}' $i/index-$i.csv.inter)
11 echo "$i-$value"
12
13
14 done
15