Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Dann> Sankit vs Power Texteditor for pgn

Author: Dann Corbit

Date: 13:57:54 05/07/01

Go up one level in this thread


On May 07, 2001 at 15:37:22, pete stein wrote:

>On May 03, 2001 at 14:36:23, Dann Corbit wrote:
>
>>1.  Get Extract from here:
>>ftp://cap.connx.com/pub/chess-utils/extract/extract.exe
>>ftp://cap.connx.com/pub/chess-utils/extract/extract.doc
>>ftp://cap.connx.com/pub/chess-utils/extract/eco.pgn
>>
>>Run the following command on your PGN files:
>>
>>extract -s -C -7 <infile.pgn> -o<outfile.pgn>
>>extract -dnul <outfile.pgn> -oclean.pgn
>>extract -eeco.pgn clean.pgn -ofinal.pgn
>>
>>Then feed final.pgn to extract.
>>
>>Some other things to try:
>>Using CDB, run the "create clean PGN file" command.
>
>
>Meanwhile I managed to have Extract clean mygames.pgn, but Sankit still won't
>create mygames.epd.
>What did you mean by CDB ?

A chess database tool by Peter Klausler (sadly, discontinued).

>Is it one of Rob Weir's ChessBase power tools ?

No.

>(So far I didn't have the opportunity to study the power tools)
>
>How can a power texteditor like Ultraedit or Zeus be configured to delete
>automatically in every game of a pgn file the following 2 sequences ?
>
>Example game:
>1. e4 e5 2. Nc3 Nf6 3. Nf3 e6 (last book move) 4. Nf3 {Deep Fritz:} 4. d4 d6 5.
>Nf3 Nxe4 6. Be3 d5 {0.44/7}) *
>
>Sequence 1: (last book move) 4. Nf3 {Deep Fritz:}
>Variable: last actual move of every game: e.g. 4Nf3
>Sequence 2: d5
>Variable: last move of every analysis: e.g. Od5

I imagine a perl script or sed script would be what is wanted.  Probably you can
do it in an editor, if it has a sophisticated enough macro language.



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.