I was wondering why if you open a textfile made in Windows notepad under unix you will find that it has ^M where there should be a new line?
My understanding is that in Windows, every line is ended with \r\n, ie 0x0D0A in ASCII, while ^M has ASCII value 0x5E4D. I cannot relate these two from one to the other.