Extracts columns from a file.
colrm First [Last]
The colrm command 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 are removed starting with the specified column. If called with two parameters, the columns from the first column to the last column are removed.
Column numbering starts with column 1.
To remove columns from the text.fil file, enter:
colrm 6 < text.fil
If text.fil contains:
123456789
then the colrm command displays:
12345
Item | Description |
---|---|
/usr/bin/colrm | Contains the colrm command. |