J&P Group | J&P InfoSol | Applications | Text Editors, Text
Different operating systems handles text files slightly - but in some cases significantly - different.
It may become critical when developing scripts on one platform (e.g. PHP, on Mac) and uploads to a web server running Linux. What works (executes properly) on one platform fails on another.
What differs is how end of line is indicated, what character(s) is/are used - Linefeed (LF, Carriage Return (CR), or both.
Linux/*NIX LF Mac CR Windows CRLF
More info, tips, and techniques in How do I convert between Unix and Mac OS or Mac OS X text files? (opens in a new tab/window), from Indiana Univ., retrieved 2008-03-03).