commit 0db3f1cb4efc6324aa7f4eb095a6ae030889014a
parent 569cb65835c7ed5d7ac5b99003e3b0c302eb6462
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Sat, 5 Sep 2015 19:18:40 +0200
avoid short answers
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/prepare.sh b/prepare.sh
@@ -27,7 +27,7 @@ do
done
grep -v '0 0 [0-9]* [0-9]*$' eval_raw | awk '$5 > 2 && $7>20' |
- awk '{printf "%s %s %s %.5f\n", $1, $2, $3, ($6/$5)*$4/($4+$5)}' |
+ awk '{printf "%s %s %s %.5f\n", $1, $2, $3, $10* ($6/$5)*$4/($4+$5)}' |
sort -k4,4rn | grep -v '^[ 0-9.bcdfghjklmnpqrstvwxzç]*$' > enigmes
./filter.py < enigmes | awk '$4 > 0.57' | cat - <(echo) | ./mkenigme.sh |