quote problem

Hi Everyone hwo are you

i have one file "abc.txt" which contains record like this

"1","2","3"
"3","4","5"

now i want to change above 2 to 5
so i write the code as

awk ' BEGIN{FS=","} { if(NR==1) { print $1",5","$3 } else { print $0 } ' abc.txt

but the outpute is

"1",5,"3"
"3","4","5"

I am not able to produce double quotes in output please help

Please help me in this as this is very urgent for me

$ awk 'BEGIN{ FS=OFS="," } { if(NR==1) { print $1,"\""5"\"",$3 } else { print $0 } }' abc.txt
"1","5","3"
"3","4","5"

Try...

awk 'BEGIN {FS=OFS=","; q="\042"} NR==1 { $2 = q "5" q } { print }' abc.txt
awk -F\" 'NR==1{$4="2"}1' OFS=\" file

Try adding quotes in the string escaped like \"

sed '1s/2/5/' abc.txt