HI all
i have a file consisting of following numbers
0000
0000
0000
0000
0000
1010
0000
0100
0000
0000
0000
1111
0000
1010
0000
0100
0000
0000
0000
0000
1010
0000
0000
0100
I want to have an output in such a way that it will consist these two fields separated by a tab or :
(First Number || Third Number)
(Sec. Number || Fourth Number)
e.g
for input 1010
the output should be 1 0
for input 1001
the output should be 1 1
and the third file should consist the decimal equivalent of the number stored in second file
i.e for 10 it should be 2
for 11 it should be 3