Geschrieben von:/Posted by: Igor Gorelikov at 12 April 2004 14:11:36:
My new utility to extract games from PGN files by text ("PGN-xt" that is
PGN Extract by Text) is available for downloads from here (2K):
http://www.digichess.gr/infiniteloop/tools/PGN-xt1.zip
A bit of readme file:
=====================
Pgn-xt is a utility to search a PGN file for the text specified and extract
the games found to the output PGN file.
You may search for any text within games: tags, comments, moves, etc.
Examples of search text:
#1.on time it extracts all the games lost on time
#1."0 1800 +3 0 0" it extracts all the games with the given time
control
#1.White "Ruffian 1.0.1 it extracts all the games of Ruffian 1.0.1 as
white
#1.Ruffian 1.0.1 it extracts all the games of Ruffian 1.0.1
#1.Ruffian it extracts all the games of all Ruffian versions
#1."Anand it extracts all the games of Anand
#1.Anand it extracts all the games of Anand, as
well as the games with comments containing
word "Anand"
#1.[Black "Chinito 3.1"] it extracts all the games of Chinito 3.1 as Black
The program is a DOS/Windows batch file that uses famous SED & AWK to do
the job.
So to run it you need download and put them into the Windows folder (or in
the folder with Pgn-xt.bat).
AWK for Windows (140K) can be downloaded from here:
http://cm.bell-labs.com/cm/cs/who/bwk/awk95.exe
SED for Windows (40K) can be downloaded from here:
http://sed.sourceforge.net/grabbag/ssed/sed-3.59.zip
Please rename "sed-3.59.exe" into "sed.exe" after downloads, as well as
"awk95.exe" into "awk.exe". Note that the batch file uses names "sed" and
"awk".
==================================================
Those and further details you can find in readme.txt
Igor Gorelikov