{
    "content": [
        {
            "type": "text",
            "text": "# YES (man)\n\n## NAME\n\nyes - output a string repeatedly until killed\n\n## SYNOPSIS\n\nyes [STRING]...\nyes OPTION\n\n## DESCRIPTION\n\nRepeatedly output a line with all specified STRING(s), or 'y'.\n\n## TLDR\n\n> Output something repeatedly.\n\n- Repeatedly output `y`:\n  `yes`\n- Repeatedly output a specified value:\n  `yes {{value}}`\n- Accept everything prompted by the `apt-get` command:\n  `yes | sudo apt-get install {{program}}`\n- Repeatedly output a newline to always accept the default option of a prompt:\n  `yes ''`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION** (1 subsections)\n- **AUTHOR**\n- **REPORTING BUGS**\n- **COPYRIGHT**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "YES",
        "section": "",
        "mode": "man",
        "summary": "yes - output a string repeatedly until killed",
        "synopsis": "yes [STRING]...\nyes OPTION",
        "tldr_summary": "Output something repeatedly.",
        "tldr_examples": [
            {
                "description": "Repeatedly output `y`",
                "command": "yes"
            },
            {
                "description": "Repeatedly output a specified value",
                "command": "yes {{value}}"
            },
            {
                "description": "Accept everything prompted by the `apt-get` command",
                "command": "yes | sudo apt-get install {{program}}"
            },
            {
                "description": "Repeatedly output a newline to always accept the default option of a prompt",
                "command": "yes ''"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "",
                "long": "--version",
                "arg": null,
                "description": "output version information and exit"
            }
        ],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": [
                    {
                        "name": "--version",
                        "lines": 2,
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "REPORTING BUGS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 4,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "yes - output a string repeatedly until killed\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "yes [STRING]...\nyes OPTION\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Repeatedly output a line with all specified STRING(s), or 'y'.\n\n--help display this help and exit\n",
                "subsections": [
                    {
                        "name": "--version",
                        "content": "output version information and exit\n",
                        "long": "--version"
                    }
                ]
            },
            "AUTHOR": {
                "content": "Written by David MacKenzie.\n",
                "subsections": []
            },
            "REPORTING BUGS": {
                "content": "GNU coreutils online help: <https://www.gnu.org/software/coreutils/>\nReport any translation bugs to <https://translationproject.org/team/>\n",
                "subsections": []
            },
            "COPYRIGHT": {
                "content": "Copyright  ©  2023 Free Software Foundation, Inc.  License GPLv3+: GNU GPL version 3 or later\n<https://gnu.org/licenses/gpl.html>.\nThis is free software: you are free to change and redistribute it.  There is NO WARRANTY,  to\nthe extent permitted by law.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Full documentation <https://www.gnu.org/software/coreutils/yes>\nor available locally via: info '(coreutils) yes invocation'\n\nGNU coreutils 9.4                           January 2026                                      YES(1)",
                "subsections": []
            }
        }
    }
}