ODOC: colrm

colrm — Remove columns from a file.


colrm removes selected columns from the input. Input is taken from STDIN and Output is sent to STDOUT. Column numbering starts with 1.


$ ls -l | colrm 35 — Remove all columns after the 34th column.

$ ls -l | colrm 1 14 — Remove columns from 1 to 14.

Read: man colrm

colrm, linux, odoc, gnu/linux