procmail
[Top] [All Lists]

Re: newline

2002-05-31 06:20:31
On Thu, 30 May 2002, alois blasbichler wrote:

i use postfix with procmail
I have a PHP-Mask for the users to send mails and this mails i load with
procmail in a file.
All this works fine.
In the mail body the user can write more lines.
Ifthe user use <enter> to get a new line. In the file i see a: ^M
In the mailbox the mail is ok (without this ^M)

How can i eliminate this ^M
i tried with gawk, but it does not work

        sed 's/^M$//'       #the "^M" is:  Ctrl+V Ctrl+M

        or:

        tr -d '\015'

Bye,
 Udi


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

<Prev in Thread] Current Thread [Next in Thread>
  • newline, alois blasbichler
    • Re: newline, Udi Mottelo <=