OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Problem sending a DOS text file from Linux to Windows.

From: Alexey Lobanov (A.Lobanovcro-rct.ru)
Date: Mon Feb 04 2008 - 04:01:39 CST


Hello.

04.02.2008 12:00, scott.postfixscottrix.co.uk пишет:

> On Fri, Feb 01, 2008 at 05:30:04PM +0100, Richard Foley wrote:
>> You're not listening to the answer:
>>
>> Wietse said:
>>
>>> To send DOS a textfile from a UNIX system use a DOS/UNIX conversion
>>> tool or send the file as a base64 encoded attachment.
>
> Let me try to put it another way. How do I know when I need to convert
> the file before I send it ?

Possibly nohow, as "fromdos" is a safe filter. It does nothing bad with
an unix text.

$ man fromdos
"The default is to remove carriage returns only if they are followed
by line feeds."

Alexey