SGFSPLIT.C(1p)

πŸ“¦
version 4.252 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

✨ NAME ✨

okay so bestie, meet sgfsplit β€” she splits Smart Go Format (SGF) files into their component variations. that's it, that's the job πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

sgfsplit [ option(s) ] file[.sgf|.mgt]

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe. sgfsplit takes a Smart Go Format (SGF) file that's got variations all up in it, and splits it up into a series of files, named filename.0.sgf, filename.1.sgf, ..., one for each variation. and the very first file, filename.0.sgf? that one's the main line. main character energy, obviously πŸ‘‘

she also makes a shell script called filename.sgf2dg, and inside it are suggested options for invoking sgf2dg on the individual files. specifically: a breakpoint gets specified in each variation file so that a single diagram is created, and the first move of the variation is move 1. periodt ✨

and the option(s) you pass to sgfsplit, if you specify any, get incorporated into filename.sgf2dg and are passed as options to sgf2dg. you can absolutely edit filename.sgf2dg before invoking it if you want different options for the different variations β€” it's your script, bestie, do what you want 🫢

lowkey the options are the whole point here, so go check sgf2dg(1) for what they actually do πŸ‘‡

🌸 SEE ALSO 🌸

  • sgf2dg(1) for description of the option(s).

πŸ’œ AUTHOR πŸ’œ

Daniel Bump (bump@math.stanford.edu):

<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 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.


and that's the whole page, bestie πŸŽ€ this was SGFSPLIT.C(1p) from the User Contributed Perl Documentation, perl v5.30.0, dated 2019-10-27. ily, go split some variations πŸ’–βœ¨

πŸ“¦ where this page comes from