procmail
[Top] [All Lists]

RE: How to process messages with ^M characters?

2001-10-03 09:20:41

Another quick-n-dirty way of getting rid of DOS cr/lf, if your system is
running FTP, is to FTP it again to localhost using ASCII transfer.  :)

-----Original Message-----
From: procmail-admin(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE
[mailto:procmail-admin(_at_)Lists(_dot_)RWTH-Aachen(_dot_)DE]On Behalf Of Marc 
van
Duivenvoorde
Sent: Wednesday, October 03, 2001 7:39 AM
To: procmail-users(_at_)procmail(_dot_)org; 
procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de;
procmail-users(_at_)procmail(_dot_)org
Subject: Re: How to process messages with ^M characters?


when uploading ascii file in binary mode with ftp you should use..

sed -e "s/\r\n/\n/" this will problably be the same, convert a dos enter to
a unix enter.

Marc

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail