We've got some updates regarding OBS and GitHub/GitLab integration. Have a look and let us know what you think! 🧐

https://openbuildservice.org/2021/06/14/scm-integration-improvements/

File genbook.sh of Package gnuchess

#! /bin/sh

echo -e "\nPreparing data...\n"
bzcat $1 >book.pgn
#head -30000 book.pgn >smallbook.pgn
echo -e "\nDone."

#echo -e "\nGenerating smallbook...\n"
#src/gnuchess <<EOF
#book add smallbook.pgn
#quit
#EOF
#mv book.dat smallbook.dat
#echo -e "\nDone.\n"

echo -e "\nGenerating book...\n"
src/gnuchess <<EOF
book add book.pgn
quit
EOF
echo -e "\nDone.\n"

echo "Books are ready!"
openSUSE Build Service is sponsored by