GNU/Linux Command – COLRM

colrm — Remove columns from a file.
 
Summary:
 
colrm removes selected columns from the input. Input is taken from STDIN and Output is sent to STDOUT. Column numbering starts with 1.
 
Examples:
$ ls -l | colrm 35 -- Remove all columns after the 34th column.  $ ls -l | colrm 1 14 -- Remove columns from 1 to 14.
Read: man colrm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: