June 2004
Intermediate to advanced
1056 pages
39h 58m
English
colrm
colrm [start[stop]]
Removes specified columns from a file, where a column is a single
character in a line. Reads from standard input, and writes to
standard output. Columns are numbered starting with 1; begin deleting
columns at (including) the start column,
and stop at (including) the stop column.
Entering a tab increments the column count to the next multiple of
either the start or
stop column; entering a backspace
decrements it by 1.
List all of the contents of a directory and remove the permissions, UID and GID, file size, and the date/time information, leaving just the filenames:
$ ls -la | colrm 1 50Read now
Unlock full access