{
    "content": [
        {
            "type": "text",
            "text": "# pnmsplit (man)\n\n## NAME\n\npnmsplit - split a multi-image portable anymap into multiple single-image files\n\n## SYNOPSIS\n\npnmsplit [pnmfile[ outputfilepattern]]\n\n## DESCRIPTION\n\nReads  a  Netpbm  file as input.  Copies each image in the input into a separate file, in the\nsame format.\n\n## TLDR\n\n> This command has been superseded by `pamsplit`.\n\n- View documentation for the current command:\n  `tldr pamsplit`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "pnmsplit",
        "section": "",
        "mode": "man",
        "summary": "pnmsplit - split a multi-image portable anymap into multiple single-image files",
        "synopsis": "pnmsplit [pnmfile[ outputfilepattern]]",
        "tldr_summary": "This command has been superseded by `pamsplit`.",
        "tldr_examples": [
            {
                "description": "View documentation for the current command",
                "command": "tldr pamsplit"
            }
        ],
        "tldr_source": "official",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "pnm",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/pnm/5/json"
            },
            {
                "name": "cat",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/cat/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 17,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "pnmsplit - split a multi-image portable anymap into multiple single-image files\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "pnmsplit [pnmfile[ outputfilepattern]]\n\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Reads  a  Netpbm  file as input.  Copies each image in the input into a separate file, in the\nsame format.\n\npnmfile is the file specification of the input file, or - to indicate  Standard  Input.   The\ndefault is Standard Input.\n\noutputfilepattern  tells how to name the output files.  It is the file specification of the\noutput file, except that the first occurence of \"%d\" in it is replaced by the image  sequence\nnumber  in  unpadded  ASCII decimal, with the sequence starting at 0.  If there is no \"%d\" in\nthe pattern, pnmsplit fails.\n\nThe default output file pattern is \"image%d\".\n\nNote that to do the reverse operation (combining  multiple  single-image  PNM  files  into  a\nmulti-image one), there is no special Netpbm program.  Just use cat.\n\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "pnm(5), cat(1)\n\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Written by Bryan Henderson\n\n\n\n19 June 2000                                 pnmsplit(1)",
                "subsections": []
            }
        }
    }
}