colrm - remove columns from a file
Contents
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/>.
util-linux 2.40.2 2024-01-31 COLRM(1)
Description
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.
History
The colrm command appeared in 3.0BSD.
Name
colrm - remove columns from a file
Options
-h, --help
Display help text and exit.
-V, --version
Print version and exit.
Reporting Bugs
For bug reports, use the issue tracker at https://github.com/util-linux/util-linux/issues.
See Also
awk(1p), column(1), expand(1), paste(1)
Synopsis
colrm[first[last]]
