Link to home
Start Free TrialLog in
Avatar of marcoo
marcooFlag for Sweden

asked on

Strange chars..

I have made a c program that fetches mail from a pop3 server. It saves the messages in the users mailbox file /var/spool/mail/username and when i edit it i see this ^M on the end of every line. Does anybody have any ideas of why those strange chars appear in the file?... I tried to sed them oout with
sed 's/"^M"/" "/g' but without any success.
ASKER CERTIFIED SOLUTION
Avatar of emiko
emiko

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial