Computer Chess Club Archives


Search

Terms

Messages

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

Author: Igor Gorelikov

Date: 07:21:11 09/26/05

Go up one level in this thread


On September 26, 2005 at 10:08:48, David Dahlem wrote:

>On September 26, 2005 at 07:53:30, Igor Gorelikov wrote:
>
>>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
>
>Thanks Igor. I don't have sed, where can i find it?
>
>Regards
>Dave


SED for Windows (40K)
http://sed.sourceforge.net/grabbag/ssed/sed-3.62.zip

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.