<br>
I'm so used to doing the following quick fix that I don't even think about it anymore...<br>
<span class="example"><br>
perl -p -e 's/\n/\r\n/' unixfile.txt dosfile.txt<br>
<br>
</span><span class="example">perl -p -e 's/\r$//' dosfile.txt unixfile.txt</span><br>
<br>
<span class="example">Thanks for the catch - must not have had enough coffee that day. :-)<br>
<br>
- Marco<br>
</span><br><div><span class="gmail_quote">On 2/1/06, <b class="gmail_sendername">Denis Beauchemin</b> <<a href="mailto:Denis.Beauchemin@usherbrooke.ca">Denis.Beauchemin@usherbrooke.ca</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Marco Radzinschi wrote:<br><br>><br>> Hello:<br>><br>> I noticed that the CR/LF behavior has changed in the newest version of<br>> MailScanner (4.49) from DOS (LF only) to Unix-type text files<br>> (<CR>+<LF>) for the generated attachment warnings.
<br><br>DOS = CR+LF, Unix/Linux = LF<br><br>><br>> I treid removing the excess <CR> characters in the report templates<br>> myself, but I noticed that the Perl script still appends to the report<br>> templates with <CR>+<LF>, which makes it appear mangled on a GroupWise
<br>> system running on Windows.<br>><br>> I did not see a configuration option for this, so I am assuming that<br>> it is hard-coded somewhere in the script, or in one of the external<br>> modules that the script uses. Does anyone know how to change this
<br>> behavior?<br><br>This has been discussed previously (about 1-2 weeks ago). It is<br>probably a bug in MIME::Tools IIRC. Some people were supposed to talk<br>to the developer to get a fix. Don't know how it turned out...
<br><br>Denis<br><br>--<br> _<br> °v° Denis Beauchemin, analyste<br> /(_)\ Université de Sherbrooke, S.T.I.<br> ^ ^ T: 819.821.8000x2252 F: 819.821.8045<br><br><br>--<br>MailScanner mailing list<br><a href="mailto:MailScanner@lists.mailscanner.info">
MailScanner@lists.mailscanner.info</a><br><a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br><br>Before posting, read <a href="http://wiki.mailscanner.info/posting">
http://wiki.mailscanner.info/posting</a><br><br>Support MailScanner development - buy the book off the website!<br></blockquote></div><br>