{
    "mode": "man",
    "parameter": "colrm",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/colrm/1/json",
    "generated": "2026-05-30T05:11:53Z",
    "synopsis": "colrm [first [last]]",
    "sections": {
        "NAME": {
            "content": "colrm - remove columns from a file\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "colrm [first [last]]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "colrm removes selected columns from a file. Input is taken from standard input. Output is\nsent to standard output.\n\nIf called with one parameter the columns of each line will be removed starting with the\nspecified first column. If called with two parameters the columns from the first column to\nthe last column will be removed.\n\nColumn numbering starts with column 1.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-V --version",
                    "content": "Display version information and exit.\n",
                    "flag": "-V",
                    "long": "--version"
                },
                {
                    "name": "-h --help",
                    "content": "Display help text and exit.\n",
                    "flag": "-h",
                    "long": "--help"
                }
            ]
        },
        "HISTORY": {
            "content": "The colrm command appeared in 3.0BSD.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "awk(1p), column(1), expand(1), paste(1)\n",
            "subsections": []
        },
        "REPORTING BUGS": {
            "content": "For bug reports, use the issue tracker at https://github.com/karelzak/util-linux/issues.\n",
            "subsections": []
        },
        "AVAILABILITY": {
            "content": "The colrm command is part of the util-linux package which can be downloaded from Linux Kernel\nArchive <https://www.kernel.org/pub/linux/utils/util-linux/>.\n\n\n\nutil-linux 2.37.2                            2021-06-02                                     COLRM(1)",
            "subsections": []
        }
    },
    "summary": "colrm - remove columns from a file",
    "flags": [
        {
            "flag": "-V",
            "long": "--version",
            "arg": null,
            "description": "Display version information and exit."
        },
        {
            "flag": "-h",
            "long": "--help",
            "arg": null,
            "description": "Display help text and exit."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "awk",
            "section": "1p",
            "url": "https://www.chedong.com/phpMan.php/man/awk/1p/json"
        },
        {
            "name": "column",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/column/1/json"
        },
        {
            "name": "expand",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/expand/1/json"
        },
        {
            "name": "paste",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/paste/1/json"
        }
    ]
}