I want a bash script to add a header line (with generic column names) to a CSV file.
My CSV file content:
a,b,c,d,e,f,g,h,i,j
a,b,c,d,e,f,g,h,i,j
Desired CSV file content:
1,2,3,4,5,6,7,8,9,10
a,b,c,d,e,f,g,h,i,j
a,b,c,d,e,f,g,h,i,j
I have been trying to convert between CSV and ARFF file formats, however the CSV2Arff.java code example from Weka requires the input CSV file to have a header, but my CSV file has none.