Line terminator sequences:
[tt]
UNIX: \n Newline
Windows/DOS: \r\n Carriage-return, Newline
[/tt]
Removing the \r from your file to make it UNIX friendly makes it DOS-unfriendly :-(. Some Windows based editors are clever enough to try both syles of line terminator.
Isn't that normal behaviour for notepad? - it's not like vi in that it allows you to add spaces regardless of mode. Where does the cursor end up when you put it at the beginning of the line and press the end key? (there's a joke there somewhere....). Cheers.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.