NAME

colrm - remove columns from a file

SYNOPSIS

colrm [startcol [endcol]]

DESCRIPTION

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.

OPTIONS AND ARGUMENTS

startcol

The first column to remove.

endcol

The last column to remove.

AUTHOR

Jeffrey S. Haemer

BUGS

Lacks the special-case handling of backspace and tab added in some other versions. Acts, instead, like the simpler Linux and SunOS versions.

SEE ALSO

awk(1)