PGN-EXTRACT(1)
π NAME π
pgn-extract β a Portable Game Notation (PGN) extractor, bestie. That's the whole vibe: it pulls chess games out of PGN files.
β¨ SYNOPSIS β¨
pgn-extract [flags] file.pgn [file.pgn ...]
π DESCRIPTION π
Okay so, pgn-extract is a free, open-source program β yes literally, no cap β and it's built to support the processing, searching and extraction of chess games from files written in PGN format. π
And the way you tell it what to extract?? Multiple options, all iconic:
- textual move sequences
- the position reached after a sequence of moves
- information in the tag fields
- material balance in the ending
Full ANSI C source and a 32-bit Windows binary for the program are available under the terms of the GNU General Public License. π
Also the program includes a semantic analyser which will report errors in game scores, and it can also detect duplicate games found in one or more of its input files. So it's not just pretty, it's smart. π§ β¨
The range of input move formats it accepts is fairly wide β it recognises lower-case piece letters for English and upper-case piece letters for Dutch and German. Default output is in English Standard Algebraic Notation (SAN), though there's some support for output in different notations too. π
Extracted games may be written out either including or excluding comments, NAGs, and variations. Games may be given ECO classifications derived from the accompanying file eco.pgn, or a customised version provided by the user. π¦
Plus β and this is the part that ate β lots of other useful features that have gradually found their way into what was once a relatively simple program! ππ
πΈ OPTIONS πΈ
Run pgn-extract -h to get all the options. (Yes, just that. Go ask it yourself, she'll tell you. π)
A complete description of each option can be found in /usr/share/doc/pgn-extract/help.html. πβ¨
π AUTHOR π
pgn-extract was written by David J. Barnes <d.j.barnes@kent.ac.uk>.
This manual page was written by Peter van Rossum <petervr@debian.org> and Vincent Legout <vlegout@debian.org>, for the Debian GNU/Linux system.
okay that's the whole page, ily, go extract some games π«ΆβοΈ
β signed off with the date May 31, 2024, from your friendly neighbourhood pgn-extract manual, General Commands Manual, section 1. periodt. π
β¨
π¦ where this page comes from
- fedora 43: pgn-extract 24.11-3.fc43 Β· GPL-3.0-or-later AND GPL-1.0-or-later
- fedora 44: pgn-extract 24.11-4.fc44 Β· GPL-3.0-or-later AND GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms