I've a shell script which generates a html file in each iteration.I want to get 3 values from the html file to be merged in one xcel file sequentially.for example 100 iteration the data will be written in one xcel file in 100 rows and 3 columns from those 100 html files.Can anyone help me to sort this out??
I guess you are using a bash scripts that is creating html file. You create CSV file in same way. It is just a text file that has extension csv. The columns are comma delimited and it would be better if you enclose each field with in ""
"column 1", "column 2", "column 3"
Thanks a lot .Well I need some more help to sort it out.As I've stated previously I am generating the html files within a loop, each time I generate the csv file it'll override the previous one and i dont want to have the data in several csv file.Is there any procedure that the csv file will merge the data sequentially?
Yap it's working.I am just writing the output of a function to the csv file .The output of the function is like
Capturing coverage data from appdir
Found gcov version: 4.3.3
Scanning appdir for .gcda files ...
Found 1 data files in appdir
Finished .info-file creation
Overall coverage rate:
lines......: 46.2% (30 of 65 lines)
functions..: 33.3% (3 of 9 functions)
branches...: 7.6% (5 of 66 branches)
Can I capture only the values 46.2%, 33.3% and 7.6% in the csv file?