How to change a value of Nth column in CSV file using shell script -
i have csv file called input_sheet.csv , content in file is:
coulmn1,coulmn2,coulmn3,coulmn4,coulmn5,coulmn6,coulmn7,coulmn8 data1,data2,data3,data4,data5,data6,data7,data8 value1,value2,value3,value4,value5,value6,value7,value8
i reading rows 1 one in while loop , in each row want change "nth" column value based on requirement. example:1st row 6th column,2nd row 5th column.
could please out solution?
thanks in advance.
Comments
Post a Comment