Am 2005-01-22 15:01:28, schrieb gebhard dettmar:

> Keine Ahnung, ich kenne procmail nicht. Aber wonach du suchst, ist:
> \r\n. \r = carriage return, \n = newline, \r\n = ^M
> Bei unter Windows geschriebenen html-Dateien mache ich das mit:
> find . -name * -exec perl -pi -e 's/\r\n/\n/' {} \;

Das ist zu schwerf�llig...

Ich meinte, das

        :0 f
        |/usr/bin/unix2dos

ja funktioniert, nur habe ich nicht vor, ein paar tausend Messages pro
Tag sinnlos durch 'unix2dos' zu pipen.  Was ich ben�tige, ist eine
Kondition in 'procmail', die \r\n entdeckt und nur dann piped, also
sowas wie

        :0 f
        * ^1^ \r\n
        |/usr/bin/unix2dos

wobei diese Kondition nicht funktioniert. MATCHen mit 'perl' geht
nat�rlich, nur dann ist direktes pipen durch 'dos2unix' doch schneller.

> dir auch
> Gebhard

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature

Antwort per Email an