HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

colrm — Remove columns from `stdin`. More information: <https://manned.org/colrm>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandcolumnsremovefromclistdinmorecolrm
linux

Problem

How to use the colrm command: Remove columns from stdin. More information: <https://manned.org/colrm>.

Solution

colrm — Remove columns from stdin. More information: <https://manned.org/colrm>.

Remove first column of stdin:
colrm {{1 1}}


Remove from 3rd column till the end of each line:
colrm {{3}}


Remove from the 3rd column till the 5th column of each line:
colrm {{3 5}}

Code Snippets

Remove first column of `stdin`

colrm {{1 1}}

Remove from 3rd column till the end of each line

colrm {{3}}

Remove from the 3rd column till the 5th column of each line

colrm {{3 5}}

Context

tldr-pages: linux/colrm

Revisions (0)

No revisions yet.