set_free_handicap: Increment handicap count properly
[pachi.git] / test_in_context.sh
blob029f59407a5d20d9c88bee2f0d747b245b98c598
1 #!/bin/sh
3 # $1: path to test results
4 # $2: board size
6 (cd "$1" && ls f$2*summ*dat) | sed 's/^f'$2'-//; s/[-.].*$//;' | xargs git log --pretty=oneline --no-walk | while read c s; do
7 echo
8 echo ================================================
9 git log -1 --pretty=medium $c
10 for t in $(cd "$1" && ls f$2-${c:0:5}*summ*); do
11 echo
12 echo $t
13 cat "$1/$t" | cut -f 1,2,7,8,12,13
14 done
15 done