Hi
I have a file which holds records like
Code:
<record>
line1
line2
line3
</record>
<record>
line1
line2
line3
</record>
in other words, I do have X <record> tags.. So, how can I split the initial file into two or N files each one having X/N <record> inside ? For example if I do have a file with 100 <record>, and I want two files, 1rst file should have 1->50 2nd from 51->100 for example
Thanks in advance
Alex