[Samba] removal of special characters

Bradley W. Langhorst brad at langhorst.com
Thu Jun 27 09:39:04 GMT 2002

On Thu, 2002-06-27 at 09:57, George Gagnon wrote:
> When i save a text file from NT to a samba share, i get all these "^M"s at
> every line. how do i get rid of them permanently?

As harry says it's not a samba problem.

This is a result of the different line ending characters on
unix (new line) and windows (carriage return, new line).

To strip out the ^Ms you can use the unix tool dos2unix.


More information about the samba mailing list