colrm(1)

colrm1

Remove columns from a file

Usage

colrm [first [last]]

Overview

colrm removes selected columns from a file. Input is taken from standard input. Output is sent to standard output.

If called with one parameter the columns of each line will be removed starting with the specified first column. If called with two parameters the columns from the first column to the last column will be removed.

Column numbering starts with column 1.

Options

-h, --help

Display help text and exit.

-V, --version

Display version and exit.

Releases

19 releases since Debian 1.1 (Buzz); the text changed 8 times.

  1. 1.1–2.2
  2. 3.0
  3. 3.1–5.0
  4. 6.0–9
  5. 10
  6. 11
  7. 12
  8. 13
  9. Arch

--help since Debian 11 (Bullseye); --version since Debian 11 (Bullseye); -V since Debian 11 (Bullseye); -h since Debian 11 (Bullseye).

History

The colrm command appeared in 3.0BSD.

Reporting bugs

For bug reports, use the issue tracker <https://github.com/util-linux/util-linux/issues>.

Availability

The colrm command is part of the util-linux package which can be downloaded from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>.

From util-linux 2.42.4-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.