#! /bin/bash
# debian-book/generate - generate a huge openings book for Gnuchess
# Nikhil Nair <nnair@debian.org>, 12th August 1996

# This is lifted directly from src/Makefile.in, with a little tidying.

echo 3 0 >testfile; echo quit >>testfile
zcat book/gnuchess.bk3.gz >./t
cat testfile | src/gnuchessr -b ./t -B gnuchess.data.huge -S 130000 -P 26
rm -f testfile ./t
