I have a .csv file that has ~600 columns and thousands of rows. I would like to create a numerical list of the column names (so that I can later easily select the columns I want to extract). The format that I would hope for is something like:
1 "ID"
2 "X"
3 "Y"
..
600 "Z"
I have tried various sed / awk commands that I have found online, but nothing has really produced what I need.. I know this is very basic, but would be very grateful for your help. Thank you.