I have a text file, beaster.txt which looks like:
MO STATE BLSTATE BLO BLA LMO BTS CONF
RXOTS-2-0-0 COM MBL 0010 0202 0F40 DIS UNCONF
RXOTS-2-0-1 COM MBL 0010 0202 0F40 DIS UNCONF
RXOTS-2-0-2 COM MBL 0010 0202 0F40 DIS UNCONF
It may have not lined up here, but it is lined up in my file. I need help removing the middle portion so I only end up with:
MO STATE BLSTATE BTS CONF
RXOTS-2-0-0 COM MBL DIS UNCONF
RXOTS-2-0-1 COM MBL DIS UNCONF
RXOTS-2-0-2 COM MBL DIS UNCONF
Then send to a new file beaster.txt > beaster1.txt
I dont want to have to use cut twice, so I was thinking awk or sed....
Thanks for the time!
Regards,
.//Beaster
MO STATE BLSTATE BLO BLA LMO BTS CONF
RXOTS-2-0-0 COM MBL 0010 0202 0F40 DIS UNCONF
RXOTS-2-0-1 COM MBL 0010 0202 0F40 DIS UNCONF
RXOTS-2-0-2 COM MBL 0010 0202 0F40 DIS UNCONF
It may have not lined up here, but it is lined up in my file. I need help removing the middle portion so I only end up with:
MO STATE BLSTATE BTS CONF
RXOTS-2-0-0 COM MBL DIS UNCONF
RXOTS-2-0-1 COM MBL DIS UNCONF
RXOTS-2-0-2 COM MBL DIS UNCONF
Then send to a new file beaster.txt > beaster1.txt
I dont want to have to use cut twice, so I was thinking awk or sed....
Thanks for the time!
Regards,
.//Beaster