ReadCopyReplaceAppend script

Closed
juju - Jan 31, 2012 at 07:23 AM
 Blocked Profile - Jan 31, 2012 at 08:48 AM
Hello,

I have a xml file with following content
<node>
<name>test01</name>
</node>

I want to have these nodes 2000 times i.e
<node>
<name>test0001</name>
</node>
<node>
<name>test0002</name>
</node>
...........
<node>
<name>test2000</name>
</node>

How can I achieve this, anybody got a script readily available. I can run it in unix, windows doesnt matter.

juju

1 response

Blocked Profile
Jan 31, 2012 at 08:48 AM
Greetings,

Please, bare in mind that Kioskea is a mutual aid community, all answers on the forum are provided by volunteers who give their time free to help solve issues.

Therefore, it is specifically requested from Kioskea forum users correspond showing mutual respect. Therefore, when requesting assistance, the use of polite expressions,as for elsewhere in similar circumstances, is appreciated. (please, thank you, appreciate, grateful, etc.)

https://ccm.net/apps-sites/internet-archeology/ccm/10131-terms-of-use-for-ccm-respect-for-others/#politesse

Please, copy, modify and repost your message respecting the politeness charter.

We trust that you understand.

Moderator
1