Hi,

I have a file with data in below format,

A
abcdefghijklmnop
abcdefghijklmnop
abcdefghijklmnop
3
B
abcdefghijklmnop
abcdefghijklmnop
2
C
abcdefghijklmnop
abcdefghijklmnop
abcdefghijklmnop
abcdefghijklmnop
4

i need to create three files like

file1:
A
abcdefghijklmnop
abcdefghijklmnop
abcdefghijklmnop
3

file2:
B
abcdefghijklmnop
abcdefghijklmnop
2

file3:
C
abcdefghijklmnop
abcdefghijklmnop
abcdefghijklmnop
abcdefghijklmnop
4

is there any way you can suggest?

Thanks
Jumsheed

Reply via email to