Would this work?
`awk -F, '{A=$3; $3=$2; $2=A; print}' OFS=, yourfile`
Basically `-F` says that you separate columns by `,`, the body switches 2nd with 3rd column, and then you `print` the modified line.
Would this work?
`awk -F, '{A=$3; $3=$2; $2=A; print}' OFS=, yourfile`
Basically `-F` says that you separate columns by `,`, the body switches 2nd with 3rd column, and then you `print` the modified line.