nefertitinka
New Member
- Joined
- Sep 14, 2011
- Messages
- 6
Dear all,
I have data in rows, which I have to paste in another files "n" times one after another. "n" is shown in column 1 and equals the required number of copies of the row.
The row data looks like this:
3 company1 share price1
7 company2 share price2
5 company3 share price3
2 company4 share price4
4 company5 share price5
The output should look like this:
3 company1 share price1
3 company1 share price1
3 company1 share price1
7 company2 share price2
7 company2 share price2
7 company2 share price2
7 company2 share price2
7 company2 share price2
7 company2 share price2
7 company2 share price2
5 company3 share price3
5 company3 share price3
5 company3 share price3
5 company3 share price3
5 company3 share price3
2 company4 share price4
2 company4 share price4
4 company5 share price5
4 company5 share price5
4 company5 share price5
4 company5 share price5
Please, help. I have tens of thousands of such inputs and it is not possible to do it manually.
I have data in rows, which I have to paste in another files "n" times one after another. "n" is shown in column 1 and equals the required number of copies of the row.
The row data looks like this:
3 company1 share price1
7 company2 share price2
5 company3 share price3
2 company4 share price4
4 company5 share price5
The output should look like this:
3 company1 share price1
3 company1 share price1
3 company1 share price1
7 company2 share price2
7 company2 share price2
7 company2 share price2
7 company2 share price2
7 company2 share price2
7 company2 share price2
7 company2 share price2
5 company3 share price3
5 company3 share price3
5 company3 share price3
5 company3 share price3
5 company3 share price3
2 company4 share price4
2 company4 share price4
4 company5 share price5
4 company5 share price5
4 company5 share price5
4 company5 share price5
Please, help. I have tens of thousands of such inputs and it is not possible to do it manually.