{
    "content": [
        {
            "type": "text",
            "text": "# grub-script-check (man)\n\n## NAME\n\ngrub-script-check - check grub.cfg for syntax errors\n\n## SYNOPSIS\n\ngrub-script-check [OPTION...] [PATH]\n\n## DESCRIPTION\n\nChecks GRUB script configuration file for syntax errors.\n\n## TLDR\n\n> The program `grub-script-check` takes a GRUB script file and checks it for syntax errors.\n\n- Check a specific script file for syntax errors:\n  `grub-script-check {{path/to/grub_config_file}}`\n- Display each line of input after reading it:\n  `grub-script-check {{-v|--verbose}}`\n- Display help:\n  `grub-script-check --help`\n- Display version:\n  `grub-script-check --version`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION** (3 subsections)\n- **REPORTING BUGS**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "grub-script-check",
        "section": "",
        "mode": "man",
        "summary": "grub-script-check - check grub.cfg for syntax errors",
        "synopsis": "grub-script-check [OPTION...] [PATH]",
        "tldr_summary": "The program `grub-script-check` takes a GRUB script file and checks it for syntax errors.",
        "tldr_examples": [
            {
                "description": "Check a specific script file for syntax errors",
                "command": "grub-script-check {{path/to/grub_config_file}}"
            },
            {
                "description": "Display each line of input after reading it",
                "command": "grub-script-check {{-v|--verbose}}"
            },
            {
                "description": "Display help",
                "command": "grub-script-check --help"
            },
            {
                "description": "Display version",
                "command": "grub-script-check --version"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-v",
                "long": "--verbose",
                "arg": null,
                "description": "print verbose messages. -?, --help give this help list"
            },
            {
                "flag": "",
                "long": "--usage",
                "arg": null,
                "description": "give a short usage message"
            },
            {
                "flag": "-V",
                "long": "--version",
                "arg": null,
                "description": "print program version"
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "grub-mkconfig",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/grub-mkconfig/8/json"
            },
            {
                "name": "GRUB-SCRIPT-CHECK",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/GRUB-SCRIPT-CHECK/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": [
                    {
                        "name": "-v --verbose",
                        "lines": 5,
                        "flag": "-v",
                        "long": "--verbose"
                    },
                    {
                        "name": "--usage",
                        "lines": 2,
                        "long": "--usage"
                    },
                    {
                        "name": "-V --version",
                        "lines": 2,
                        "flag": "-V",
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "REPORTING BUGS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 12,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "grub-script-check - check grub.cfg for syntax errors\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "grub-script-check [OPTION...] [PATH]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Checks GRUB script configuration file for syntax errors.\n",
                "subsections": [
                    {
                        "name": "-v --verbose",
                        "content": "print verbose messages.\n\n-?, --help\ngive this help list\n",
                        "flag": "-v",
                        "long": "--verbose"
                    },
                    {
                        "name": "--usage",
                        "content": "give a short usage message\n",
                        "long": "--usage"
                    },
                    {
                        "name": "-V --version",
                        "content": "print program version\n",
                        "flag": "-V",
                        "long": "--version"
                    }
                ]
            },
            "REPORTING BUGS": {
                "content": "Report bugs to <bug-grub@gnu.org>.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "grub-mkconfig(8)\n\nThe  full documentation for grub-script-check is maintained as a Texinfo manual.  If the info\nand grub-script-check programs are properly installed at your site, the command\n\ninfo grub-script-check\n\nshould give you access to the complete manual.\n\n\n\nGRUB 2.06-2ubuntu7.2                        December 2022                       GRUB-SCRIPT-CHECK(1)",
                "subsections": []
            }
        }
    }
}