There is a simple program called dos2unix that will convert the file from dos format to unix format getting rid of the ^M, there is also a program called unix2dos that will convert the other way so you get line returns in windows when you open a file created with unix. I don't know why you didn't need to convert them in the past maybe you had some option in mc that converted the dos files for you and need to set the option in rh 9. I never used mc I just use vi so I have no idea what options it would have. Linda On Tue, 8 Jul 2003, Ivo Tijhaar wrote:
> I installed red hat 9.0 on three different systems multiple times. But every > time i have the following problem. When i make a text file with e.g php or a > text file with windows and then upload it with netbios(samba) or with ftp > (proftp or wuftp) or by webupload and then open with mc all my lines are > ending with ^M. I using linux for a long time and different distrubutions > and never had this problem. I have this problem only with 9.0. > > Thanks in advance, > > Ivo > > > -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list