rm -f __tmp__book.dat
../src/gnuchess xboard <<EOF
option BookBuilderDepth=20
option BookBuilderLegacyFilter=1
book add book.pgn __tmp__book.dat
book convert __tmp__book.dat gnuchess.bin
EOF
rm -f __tmp__book.dat
