Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: PGN to FEN

Author: Stefano Gemma

Date: 03:09:45 03/07/04

Go up one level in this thread


On March 06, 2004 at 22:28:08, Jeff White wrote:

>I have a file of positions in pgn format, 1154 of them to be exact. Here is an
>example of one:
[...]
>[FEN "3rn1k1/p4ppp/1p4b1/2p1Q3/2P1P3/P4P2/1B1qBP1P/1R5K w - - 0 1"]
[...]
>What I want to do is just have the fen line without everything else. I tried
[...]

If you use Windows/Dos, you can try this command, from the Dos prompt:

type file.pgn|sort>out.txt

then just edit out.txt and you'll find all the [FEN...] lines grouped together.

Ciao!!!

Stefano Gemma

PS: sorry for the other two empty messages, it was a typing mistake



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.