The
utility removes selected columns from the lines of a file. A column is defined as a single character in a line. Input is read from the standard input. Output is written to the standard output.
If only the
column is specified, columns numbered less than the
column will be written. If both
and
columns are specified, columns numbered less than the
column or greater than the
column will be written. Column numbering starts with one, not zero.
Tab characters increment the column count to the next multiple of eight. Backspace characters decrement the column count by one.
The
and
environment variables affect the execution of
as described in
The
command appeared in