Its not working dear.
sed '$s/.$//' filename
Below is the actual data I have in csv file.
Template,Target Server,Target Component,Rule Group,Rule,Rule Reference Number,Rule Definition,Mismatched Conditions,Result,Documented Exception,Compliant,Exception Name,Exception Reference,Expiration Date,
RHEL_Pwd_Compliance,Server1,RHEL_Pwd_Compliance (Server1),/User Exist,User cpm,,"""Extended Object Entry:RHEL_Pwd_Compliance//rootUser"".""Value1 as String (All OS)"" equals ""Available""",,Pass,,Y,,,,
Expected output
Template,Target Server,Target Component,Rule Group,Rule,Rule Reference Number,Rule Definition,Mismatched Conditions,Result,Documented Exception,Compliant,Exception Name,Exception Reference,Expiration Date
RHEL_Pwd_Compliance,Server1,RHEL_Pwd_Compliance (Server1),/User Exist,User cpm,,"""Extended Object Entry:RHEL_Pwd_Compliance//rootUser"".""Value1 as String (All OS)"" equals ""Available""",,Pass,,Y,,,
---------- Post updated at 04:41 PM ---------- Previous update was at 04:33 PM ----------
Hi Ravinder,
Thanks for your prompt response. Its working fine.
Regards,
Litu