Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Is there a tool ...?

Author: Igor Gorelikov

Date: 04:53:30 09/26/05

Go up one level in this thread


First you need to run sed with the following command (it can be done with a
batch file) to joint each pair of lines and add asterisk for results:

sed "$!N;s/\n/ /;s/$/\n*\n/" book.txt > temp.pgn

Then run PGN-extract to obtain a pgn file:

pgn-extract -obook.pgn temp.pgn

That's all. Now you get book.pgn.

Regards,
Igor



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.