11-07-2006
17,
0
Join Date: Aug 2006
Last Activity: 29 January 2007, 2:18 PM EST
Posts: 17
Thanks Given: 0
Thanked 0 Times in 0 Posts
File
ihave a file in the following format...
Company:abc
Cid Cname
1 Wal
2 Buy
Company:def
mkl
Cid Cname
10 Bank
11 XX
Company:mnk
234
Cid Cname
10 bank
1 Wal
The O/p should be
Company Cid Cname
abc 1 Wal
abc 2 Buy
defmkl 10 Bank
defmkl 11 XX
mnk234 10 bank
mnk234 1 Wal
I was able to do if the company number is not getting extended in the second line...I was unable to do if it was extended ....