I am new to linux I have a CSV file as
input.csv
1,2,3,10
4,5,6
7,8,9,12,28,30
I want to reverse the columns in this file which means
output.csv
10,3,2,1
6,5,4
30,28,12,9,8,7
I know for a fixed column count but If the column count varieswhat should I do? Any help is appreciated