{
    "mode": "info",
    "parameter": "yes",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/info/yes/json",
    "generated": "2026-07-31T01:23:12Z",
    "sections": {
        "File: coreutils.info,  Node: yes invocation,  Prev: printf invocation,  Up: Printing text": {
            "content": "",
            "subsections": [
                {
                    "name": "15.3 'yes': Print a string until interrupted",
                    "content": "'yes' prints the command line arguments, separated by spaces and\nfollowed by a newline, forever until it is killed.  If no arguments are\ngiven, it prints 'y' followed by a newline forever until killed.\n\nUpon a write error, 'yes' exits with status '1'.\n\nThe only options are a lone '--help' or '--version'.  To output an\nargument that begins with '-', precede it with '--', e.g., 'yes --\n--help'.  *Note Common options::.\n"
                }
            ]
        }
    },
    "flags": [],
    "examples": [],
    "see_also": []
}