Ok, silvercord was great in pointing me towards my old 3dmath code;however, since it was written in MSVC.NET, I have these unsightly '^M' characters at the end of each line, how can I get rid of them all in one burst?
Ok, silvercord was great in pointing me towards my old 3dmath code;however, since it was written in MSVC.NET, I have these unsightly '^M' characters at the end of each line, how can I get rid of them all in one burst?
Write a program to do it
Open the file, every time the character comes around kill it.
Can't remember if its ascii 10 or 13.
dos2unix filename filename
That should do it on *nix
"You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter
dos2unix will do it. I forgot about the differences during a programming competition last month, and ended up coming 2nd because of the initial confusion about that.
>dos2unix filename filename
If you leave out the 2nd 'filename', it'll just overwrite the original, FYI.
Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah
You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie