Hi,
I have a file with following info:
AAAAA1 BBBBB1 CCCCC1
AAAAA2 BBBBB2
CCCCC2
AAAAA3 BBBBB3 CCCCC3
AAAAA4 BBBBB4
CCCCC4
AAAAA5 BBBBB5
CCCCC5
AAAAA6 BBBBB6 CCCCC6
I want it to be formatted as follows :
AAAAA1 BBBBB1 CCCCC1
AAAAA2 BBBBB2 CCCCC2
AAAAA3 BBBBB3 CCCCC3
AAAAA4 BBBBB4 CCCCC4
AAAAA5 BBBBB5 CCCCC5
AAAAA6 BBBBB6 CCCCC6
That is, if the 3rd column on a line is null, then append the first word of the next line to it ...
Any help is most appreciated !
Thanx
-Maria
I have a file with following info:
AAAAA1 BBBBB1 CCCCC1
AAAAA2 BBBBB2
CCCCC2
AAAAA3 BBBBB3 CCCCC3
AAAAA4 BBBBB4
CCCCC4
AAAAA5 BBBBB5
CCCCC5
AAAAA6 BBBBB6 CCCCC6
I want it to be formatted as follows :
AAAAA1 BBBBB1 CCCCC1
AAAAA2 BBBBB2 CCCCC2
AAAAA3 BBBBB3 CCCCC3
AAAAA4 BBBBB4 CCCCC4
AAAAA5 BBBBB5 CCCCC5
AAAAA6 BBBBB6 CCCCC6
That is, if the 3rd column on a line is null, then append the first word of the next line to it ...
Any help is most appreciated !
Thanx
-Maria