Section: User Commands (1)
Updated: September 2011
colrm - remove columns from a file
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
column. If called with two parameters the columns from the
column to the
column will be removed.
Column numbering starts with column 1.
- -V, --version
Display version information and exit.
- -h, --help
Display help text and exit.
command appeared in 3.0BSD.
The colrm command is part of the util-linux package and is available from
Linux Kernel Archive