colrmis a command that removes the column that you indicate
Here we have a file named
example.txtthat contains two lines to test this command:
The syntax command is:
colrm [first] [last]
colrm 4 < example.txt 123 abcAs you can see, if I don't indicate the last column, the command removes all the columns starting from 4 included.
colrm 2 4 < example.txt 156789 aefghiHere, as you can see, the command has not removed all the columns, but only the columns that between 2 and 4, inclusive