Hi,
i want to replace comma by space for specified field in record, i mean i want to replace the commas in the 4th field by space. and rest all is same throught the record.
the record is
16458,99,001,"RIMOUSKI, QC",418,"N",7,EST,EDT,902
16458,99,002,"CHANDLER, QC",418,"N",5,MST,MDT,616
16458,99,003,"NEWRICHMND, QC",418,"B",7,EST,EDT,702
here i want to replace "RIMOUSKI, QC" by "RIMOUSKI QC" and for all the records of the file in the 4th position.
i can do it for file using
sed 's/,//g'
but how can i do it only for 4th field ?