{
    "mode": "man",
    "parameter": "paste",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/paste/1/json",
    "generated": "2026-06-02T22:31:29Z",
    "synopsis": "paste [OPTION]... [FILE]...",
    "sections": {
        "NAME": {
            "content": "paste - merge lines of files\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "paste [OPTION]... [FILE]...\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Write  lines  consisting of the sequentially corresponding lines from each FILE, separated by\nTABs, to standard output.\n\nWith no FILE, or when FILE is -, read standard input.\n\nMandatory arguments to long options are mandatory for short options too.\n",
            "subsections": [
                {
                    "name": "-d --delimiters",
                    "content": "reuse characters from LIST instead of TABs\n",
                    "flag": "-d",
                    "long": "--delimiters"
                },
                {
                    "name": "-s --serial",
                    "content": "paste one file at a time instead of in parallel\n",
                    "flag": "-s",
                    "long": "--serial"
                },
                {
                    "name": "-z --zero-terminated",
                    "content": "line delimiter is NUL, not newline\n\n--help display this help and exit\n",
                    "flag": "-z",
                    "long": "--zero-terminated"
                },
                {
                    "name": "--version",
                    "content": "output version information and exit\n",
                    "long": "--version"
                }
            ]
        },
        "AUTHOR": {
            "content": "Written by David M. Ihnat and 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 © 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/paste>\nor available locally via: info '(coreutils) paste invocation'\n\n\n\nGNU coreutils 8.32                          January 2026                                    PASTE(1)",
            "subsections": []
        }
    },
    "summary": "paste - merge lines of files",
    "flags": [
        {
            "flag": "-d",
            "long": "--delimiters",
            "arg": null,
            "description": "reuse characters from LIST instead of TABs"
        },
        {
            "flag": "-s",
            "long": "--serial",
            "arg": null,
            "description": "paste one file at a time instead of in parallel"
        },
        {
            "flag": "-z",
            "long": "--zero-terminated",
            "arg": null,
            "description": "line delimiter is NUL, not newline --help display this help and exit"
        },
        {
            "flag": "",
            "long": "--version",
            "arg": null,
            "description": "output version information and exit"
        }
    ],
    "examples": [],
    "see_also": [],
    "tldr": {
        "source": "official",
        "description": "Merge lines of files.",
        "examples": [
            {
                "description": "Join all the lines into a single line, using `TAB` as delimiter",
                "command": "paste {{-s|--serial}} {{path/to/file}}"
            },
            {
                "description": "Join all the lines into a single line, using the specified delimiter",
                "command": "paste {{-s|--serial}} {{-d|--delimiters}} {{delimiter}} {{path/to/file}}"
            },
            {
                "description": "Merge two files side by side, each in its column, using `TAB` as delimiter",
                "command": "paste {{path/to/file1}} {{path/to/file2}}"
            },
            {
                "description": "Merge two files side by side, each in its column, using the specified delimiter",
                "command": "paste {{-d|--delimiters}} {{delimiter}} {{path/to/file1}} {{path/to/file2}}"
            },
            {
                "description": "Merge two files, with lines added alternatively",
                "command": "paste {{-d|--delimiters}} '\\n' {{path/to/file1}} {{path/to/file2}}"
            }
        ]
    }
}