To append Character in file

view story

http://www.unix.com – hi, i am having a file which is comma seperated , i need to append a char in particular column for eg: Code: infile aa,bb,c,dd,ee zz,yy,sss,ddd,ff . . i need to append for eg 4th column with a char like 'LQ' output: Code: aa,bb,c,LQdd,ee zz,yy,sss,LQddd,ff here if any column occurs , as coulmn for eg: Code: aa,bb,c,"dd,xx",ee i need to consider "dd,xx" as whole col and resulting to LQdd,xx (HowTos)