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? thanks SBLI
Hi, 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?it's not a samba-problem. Most editors in the win***-world save it in that style. You have to look for an editor, which edits in unix-style. But : Then you'll have another problem , most win**-progs then won't be able to edit the files as, for them the text seems to be in one line ..> thanks > > SBLIgreets Harry
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. brad