Split smart go format (\s-1sgf\s0) files into their component variations
sgfsplit [ option(s) ] file[.sgf|.mgt]
sgfsplit takes a Smart Go Format (\s-1SGF\s0) 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.
sgf2dg(1) for description of the option(s).
Daniel Bump ([email protected]):
<http://match.stanford.edu/bump/go.html>
Copyright (C) 1997-2005 by Daniel Bump
This program is distributed in the hope that it will be useful, but \s-1WITHOUT\s0 \s-1ANY\s0 \s-1WARRANTY\s0; without even the implied warranty of \s-1MERCHANTABILITY\s0 or \s-1FITNESS\s0 \s-1FOR\s0 A \s-1PARTICULAR\s0 \s-1PURPOSE\s0. See the \s-1GNU\s0 General Public License for more details.
sgfsplit is published under the terms of the \s-1GNU\s0 General Public Licence, version 2. Consult the file \s-1COPYING\s0 for details, or write the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, \s-1MA\s0 02111, \s-1USA\s0.