{
    "content": [
        {
            "type": "text",
            "text": "# splitdiff (man)\n\n## NAME\n\nsplitdiff - separate out incremental patches\n\n## SYNOPSIS\n\nsplitdiff [-a] [-d] [-D dir] [-p n] [-E] [file]\nsplitdiff {[--help] | [--version]}\n\n## DESCRIPTION\n\nIf you have a patch file composed of several incremental patches, you can use splitdiff to\nseparate them out. You may want to do this in preparation for re-combining them with\ncombinediff(1).\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (7 subsections)\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "splitdiff",
        "section": "",
        "mode": "man",
        "summary": "splitdiff - separate out incremental patches",
        "synopsis": "splitdiff [-a] [-d] [-D dir] [-p n] [-E] [file]\nsplitdiff {[--help] | [--version]}",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "-a",
                "long": null,
                "arg": null,
                "description": "Split out every single file-level patch."
            },
            {
                "flag": "-d",
                "long": null,
                "arg": null,
                "description": "Create file names such as ab.c.patch for a patch that modifies a/b.c."
            },
            {
                "flag": "-D",
                "long": null,
                "arg": null,
                "description": "Write output files into subdirectory dir. Implies -d."
            },
            {
                "flag": "-p",
                "long": null,
                "arg": null,
                "description": "Strip the first n components of the pathname to aid comparisons."
            },
            {
                "flag": "-E",
                "long": null,
                "arg": null,
                "description": "Don't use .patch filename extension when writing output files."
            },
            {
                "flag": "",
                "long": "--help",
                "arg": null,
                "description": "Display a short usage message."
            },
            {
                "flag": "",
                "long": "--version",
                "arg": null,
                "description": "Display the version number of splitdiff."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "combinediff",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/combinediff/1/json"
            },
            {
                "name": "lsdiff",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/lsdiff/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-a",
                        "lines": 2,
                        "flag": "-a"
                    },
                    {
                        "name": "-d",
                        "lines": 2,
                        "flag": "-d"
                    },
                    {
                        "name": "-D _",
                        "lines": 2,
                        "flag": "-D"
                    },
                    {
                        "name": "-p _",
                        "lines": 2,
                        "flag": "-p"
                    },
                    {
                        "name": "-E",
                        "lines": 2,
                        "flag": "-E"
                    },
                    {
                        "name": "--help",
                        "lines": 2,
                        "long": "--help"
                    },
                    {
                        "name": "--version",
                        "lines": 2,
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 4,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "splitdiff - separate out incremental patches\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "splitdiff [-a] [-d] [-D dir] [-p n] [-E] [file]\n\nsplitdiff {[--help] | [--version]}\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "If you have a patch file composed of several incremental patches, you can use splitdiff to\nseparate them out. You may want to do this in preparation for re-combining them with\ncombinediff(1).\n\nThe effect of running splitdiff is to separate its input into a set of output files, with no\noutput file patching the same file more than once.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-a",
                        "content": "Split out every single file-level patch.\n",
                        "flag": "-a"
                    },
                    {
                        "name": "-d",
                        "content": "Create file names such as ab.c.patch for a patch that modifies a/b.c.\n",
                        "flag": "-d"
                    },
                    {
                        "name": "-D _",
                        "content": "Write output files into subdirectory dir. Implies -d.\n",
                        "flag": "-D"
                    },
                    {
                        "name": "-p _",
                        "content": "Strip the first n components of the pathname to aid comparisons.\n",
                        "flag": "-p"
                    },
                    {
                        "name": "-E",
                        "content": "Don't use .patch filename extension when writing output files.\n",
                        "flag": "-E"
                    },
                    {
                        "name": "--help",
                        "content": "Display a short usage message.\n",
                        "long": "--help"
                    },
                    {
                        "name": "--version",
                        "content": "Display the version number of splitdiff.\n",
                        "long": "--version"
                    }
                ]
            },
            "SEE ALSO": {
                "content": "combinediff(1), lsdiff(1)\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Tim Waugh <twaugh@redhat.com>\nPackage maintainer\n\npatchutils                                   4 Nov 2014                                 SPLITDIFF(1)",
                "subsections": []
            }
        }
    }
}