Scroll to navigation

COLRM(1) User Commands COLRM(1)

NAME

colrm - remove columns from a file

SYNOPSIS

colrm [first [last]]

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.

OPTIONS

Display version information and exit.
Display help text and exit.

HISTORY

The colrm command appeared in 3.0BSD.

SEE ALSO

awk(1p), column(1), expand(1), paste(1)

AVAILABILITY

The colrm command is part of the util-linux package and is available from Linux Kernel Archive.

September 2011 util-linux