{
    "content": [
        {
            "type": "text",
            "text": "# SEQ (man)\n\n## NAME\n\nseq - print a sequence of numbers\n\n## SYNOPSIS\n\nseq [OPTION]... LAST\nseq [OPTION]... FIRST LAST\nseq [OPTION]... FIRST INCREMENT LAST\n\n## DESCRIPTION\n\nPrint numbers from FIRST to LAST, in steps of INCREMENT.\n\n## TLDR\n\n> Output a sequence of numbers to `stdout`.\n\n- Print a sequence from 1 to 10:\n  `seq 10`\n- Print a sequence from 10 to 20:\n  `seq 10 20`\n- Print every 3rd number from 5 to 20:\n  `seq 5 3 20`\n- Separate the output with a space instead of a newline:\n  `seq {{-s|--separator}} \" \" {{5 3 20}}`\n- Format output width to a minimum of 4 digits padding with zeros as necessary:\n  `seq {{-f|--format}} \"%04g\" {{5 3 20}}`\n- Print all numbers with the same width:\n  `seq {{-w|--equal-width}} {{5 3 20}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION** (4 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": "SEQ",
        "section": "",
        "mode": "man",
        "summary": "seq - print a sequence of numbers",
        "synopsis": "seq [OPTION]... LAST\nseq [OPTION]... FIRST LAST\nseq [OPTION]... FIRST INCREMENT LAST",
        "tldr_summary": "Output a sequence of numbers to `stdout`.",
        "tldr_examples": [
            {
                "description": "Print a sequence from 1 to 10",
                "command": "seq 10"
            },
            {
                "description": "Print a sequence from 10 to 20",
                "command": "seq 10 20"
            },
            {
                "description": "Print every 3rd number from 5 to 20",
                "command": "seq 5 3 20"
            },
            {
                "description": "Separate the output with a space instead of a newline",
                "command": "seq {{-s|--separator}} \" \" {{5 3 20}}"
            },
            {
                "description": "Format output width to a minimum of 4 digits padding with zeros as necessary",
                "command": "seq {{-f|--format}} \"%04g\" {{5 3 20}}"
            },
            {
                "description": "Print all numbers with the same width",
                "command": "seq {{-w|--equal-width}} {{5 3 20}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-f",
                "long": "--format",
                "arg": null,
                "description": "use printf style floating-point FORMAT"
            },
            {
                "flag": "-s",
                "long": "--separator",
                "arg": null,
                "description": "use STRING to separate numbers (default: \\n)"
            },
            {
                "flag": "-w",
                "long": "--equal-width",
                "arg": null,
                "description": "equalize width by padding with leading zeroes --help display this help and exit"
            },
            {
                "flag": "",
                "long": "--version",
                "arg": null,
                "description": "output version information and exit If FIRST or INCREMENT is omitted, it defaults to 1. That is, an omitted INCREMENT defaults to 1 even when LAST is smaller than FIRST. The sequence of numbers ends when the sum of the current number and INCREMENT would become greater than LAST. FIRST, INCREMENT, and LAST are interpreted as floating point values. INCREMENT is usually positive if FIRST is smaller than LAST, and INCREMENT is usually negative if FIRST is greater than LAST. INCREMENT must not be 0; none of FIRST, INCREMENT and LAST may be NaN. FORMAT must be suitable for printing one argument of type 'double'; it defaults to %.PRECf if FIRST, INCREMENT, and LAST are all fixed point decimal numbers with maximum precision PREC, and to %g otherwise."
            }
        ],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": [
                    {
                        "name": "-f --format",
                        "lines": 2,
                        "flag": "-f",
                        "long": "--format"
                    },
                    {
                        "name": "-s --separator",
                        "lines": 2,
                        "flag": "-s",
                        "long": "--separator"
                    },
                    {
                        "name": "-w --equal-width",
                        "lines": 4,
                        "flag": "-w",
                        "long": "--equal-width"
                    },
                    {
                        "name": "--version",
                        "lines": 11,
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "REPORTING BUGS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "seq - print a sequence of numbers\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "seq [OPTION]... LAST\nseq [OPTION]... FIRST LAST\nseq [OPTION]... FIRST INCREMENT LAST\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Print numbers from FIRST to LAST, in steps of INCREMENT.\n\nMandatory arguments to long options are mandatory for short options too.\n",
                "subsections": [
                    {
                        "name": "-f --format",
                        "content": "use printf style floating-point FORMAT\n",
                        "flag": "-f",
                        "long": "--format"
                    },
                    {
                        "name": "-s --separator",
                        "content": "use STRING to separate numbers (default: \\n)\n",
                        "flag": "-s",
                        "long": "--separator"
                    },
                    {
                        "name": "-w --equal-width",
                        "content": "equalize width by padding with leading zeroes\n\n--help display this help and exit\n",
                        "flag": "-w",
                        "long": "--equal-width"
                    },
                    {
                        "name": "--version",
                        "content": "output version information and exit\n\nIf  FIRST  or INCREMENT is omitted, it defaults to 1.  That is, an omitted INCREMENT defaults\nto 1 even when LAST is smaller than FIRST.  The sequence of numbers ends when the sum of  the\ncurrent  number and INCREMENT would become greater than LAST.  FIRST, INCREMENT, and LAST are\ninterpreted as floating point values.  INCREMENT is usually positive if FIRST is smaller than\nLAST, and INCREMENT is usually negative if FIRST is greater than LAST.  INCREMENT must not be\n0; none of FIRST, INCREMENT and LAST may be NaN.  FORMAT must be suitable  for  printing  one\nargument of type 'double'; it defaults to %.PRECf if FIRST, INCREMENT, and LAST are all fixed\npoint decimal numbers with maximum precision PREC, and to %g otherwise.\n",
                        "long": "--version"
                    }
                ]
            },
            "AUTHOR": {
                "content": "Written by Ulrich Drepper.\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 © 2020 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/seq>\nor available locally via: info '(coreutils) seq invocation'\n\n\n\nGNU coreutils 8.32                          January 2026                                      SEQ(1)",
                "subsections": []
            }
        }
    }
}