I have posted this question earlier.
At the output of this program, I get an array that has 4 elements like this:
11111111,22222222,kkkkkk,lllllll
33333333,44444444,oooooo,ppppppp
qqqqqqqq,rrrrrr,ssssss,ttttttt
Now I have another csv which has more columns(let's say 10) and a some of those columns have hardcoded data, something like this -
head1,head2,head3,head4,head5,head6,head7,head8,head9,head10
-,123,345,something,<blank>,<blank>,-,-,-,-
so except for the everything is hardcoded. I want to print the first and second columns of my output in these blank spaces and repeat the hardcoded data on every row. So my output should be something like this:
head1,head2,head3,head4,head5,head6,head7,head8,head9,head10
-,123,345,something,11111111,22222222,-,-,-,-
-,123,345,something,33333333,44444444,-,-,-,-
-,123,345,something,qqqqqqqq,rrrrrr,-,-,-,-
,and your data in that array