Hi,
How do i convert DOS files to Unix files after porting from the Windows partition. I usually have to port my C code from Windows partition to Linux. Vi works fine, showing a [dos] in the end. But then when i use some programs like "indent" all new lines are replaced by ^M which i can neither find in vi using / nor use the grep command.
BTW, which one has both CR and LF and which one has only CR as new line charachters?
Converting back is simple by opening it in Wordpad and saving again.
Any links to scripts/or hints on scripts wud be gr8.
thanx ..
-- Goldwyn :o)