COLRM(1) - Linux man page online | User commands
Remove columns from a file.
June 6, 2015
COLRM(1) BSD General Commands Manual COLRM(1)
BSD June 6, 2015 BSD
NAMEcolrm — remove columns from a file
SYNOPSIScolrm [start [stop]]
DESCRIPTIONThe colrm 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 start column is specified, columns numbered less than the start column will be written. If both start and stop columns are specified, columns numbered less than the start column or greater than the stop column will be written. Column numbering starts with one, not zero. Tab characters increment the column count to the next multiple of eight. Backspace charac‐ ters decrement the column count by one.
ENVIRONMENTThe LANG, LC_ALL and LC_CTYPE environment variables affect the execution of colrm as described in environ(7).
EXIT STATUSThe colrm utility exits 0 on success, and >0 if an error occurs.
SEE ALSOawk(1), column(1), cut(1), paste(1)
HISTORYThe colrm utility first appeared in 1BSD.
AUTHORSJeff Schriebman wrote the original version of colrm in November 1974.
|This manual||Reference||Other manuals|
|refer to||column(1) | cut(1) | environ(7) | paste(1)|