colrm - remove columns from a file
colrm [startcol [endcol]]
colrm removes the named columns from each line of its standard input (one column = one character). Column numbering starts at 1, not 0.
If a only startcol is provided, removes all columns from startcol rightwards.
If both startcol and endcol are provided, removes all columns from startcol to endcol, inclusive.
If neither is provided, acts just like cat.
The first column to remove.
The last column to remove.
Jeffrey S. Haemer
Lacks the special-case handling of backspace and tab added in some other versions. Acts, instead, like the simpler Linux and SunOS versions.
awk(1)
To install PerlPowerTools, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PerlPowerTools
CPAN shell
perl -MCPAN -e shell install PerlPowerTools
For more information on module installation, please visit the detailed CPAN module installation guide.