colrm (remove columns from a text file)
Removes specified columns from a text file. A column is a single character wide. Format: colrm startcolnum stopcolnum
Examples: colrm 1 3 <report1 > report2
Removes columns 1, 2, and 3 from report1 and stores the altered file contents in report2, as shown below: cat report1
abcde
12345
Hello
cat report2
de
45
lo
|