Question on formattting

view story

http://www.unix.com – I have data as follows, I wantto add a character to the word ending with “,”. Could you please help me how can we do this ? Code: I/P "primary,friend,apple,orange" O/P "aprimary,afriend,aapple,aorange" Moderator's Comments: Please view this code tag video for how to use code tags when posting code and data. (HowTos)