> try this
>
> sed -e "s/\r/\n/g" your_file_name > your_temp_file_name
>
> this code will go through your entire code and remove the "^M" characters
> and replace them with the plain and acceptable \n. The output will be redirec
> ted
> to some temporary file. You may than rename files or copy them
I've seen three suggestions along this line; it has the difficulty that source
files get changed every times they get transferred back and forth. This, I
suspect, causes problems with revision control.
It may be that NT is happy with \n line terminations - know that most OS/2
software is, and that you can coax your NT editor to store lines in this
format.
If you store your source code on a FAT (MSDOS) filesystem, you can get he
filesystem do do the translation on the fly - 'man mount' for details.
It might require some fiddling to keep coordinated though.
_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list