colrm First [Last]
The colrm command removes selected columns from a file. Input is taken from standard input. Output is sent to standard output.
If called with one parameter, the columns of each line are removed starting with the specified column. If called with two parameters, the columns from the first column to the last column are removed.
Column numbering starts with column 1.
To remove columns from the text.fil file, enter:
colrm 6 < text.fil
123456789
then the colrm command displays:
12345
/usr/bin/colrm | Contains the colrm command. |
The cut command.
Files Overview in AIX Version 4.3 System User's Guide: Operating System and Devices introduces you to files and the way you can work with them.
Input and Output Redirection Overview in AIX Version 4.3 System User's Guide: Operating System and Devices describes how the AIX Operating System processes input and output.