Colrm

From LQWiki
Jump to navigation Jump to search

colrm removes columns of characters from the input. If no limits are set, no columns are removed.

Synopsis

 colrm [start [stop]]

Operation

This command recognizes backspace and tab characters, and assumes 8-column tabs. Column numbers start at one. Characters outside the column region are output.

Environment

The command is affected by environment variables LANG, LC_ALL and LC_CTYPE as described in the environ(7) man page.

Provided by

Most (all?) Linux distributions incorporate this from the [util-linux] project

See also