[Samba] R: Re: Dos/Unix newline translating

Riccardo Castellani ric.castellani at alice.it
Wed Nov 9 03:56:24 MST 2011

But I have another server with RedHat and Samba 3.0.10 configured in the same way, but I can view correctly text files which I move to RedHat server.

----Messaggio originale----
Da: jdmls at yahoo.com
Data: 9-nov-2011 11.42
A: "samba at lists.samba.org"<samba at lists.samba.org>
Ogg: Re: [Samba] Dos/Unix newline translating

From: Riccardo Castellani <ric.castellani at alice.it>
> if I create a text file in my Windows XP client and I copy it to 
> /temporary folder, then I open it by VI editor into my Debian server and 
> I see '^M' at the end of every row.
> How can I solve problem ? Problem references to Dos/Unix newline 
> translating  ?

Windows uses '\r\n' and Unix uses '\n'...
Either configure your Windows text editor to use \n, 
or use dos2unix or use sed, etc...
A simple google search would have pointed to you to something like:

To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

More information about the samba mailing list