sgfsplit - split Smart Go Format (SGF) files into their component variations
Contents
Copyright And License
Copyright (C) 1997-2005 by Daniel Bump
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
License for more details.
sgfsplit is published under the terms of the GNU General Public Licence, version 2. Consult the file
COPYING for details, or write the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
02111, USA.
perl v5.30.0 2019-10-27 SGFSPLIT.C(1p)
Description
sgfsplit takes a Smart Go Format (SGF) file containing variations, and splits it up into a series of
files, named filename.0.sgf, filename.1.sgf, ..., one for each variation. The first file filename.0.sgf
is the main line.
sgfsplit also creates a shell script called filename.sgf2dg which contains suggested options for invoking
sgf2dg on the individual files. In particular, a breakpoint is specified in each variation file so that a
single diagram is created, the first move of the variation being move 1.
The options(s) to sgfsplit, if specified, are incorporated into filename.sgf2dg and are passed as options
to sgf2dg. filename.sgf2dg may of course be edited before being invoked if different options are wanted
for the different variations.
Name
sgfsplit - split Smart Go Format (SGF) files into their component variations
See Also
sgf2dg(1) for description of the option(s).
Synopsis
sgfsplit [ option(s) ] file[.sgf|.mgt]
