OS X uses \n. \r dates from OS 9 (see http://en.wikipedia.org/wiki/Newline)
As simple as that ;) > For our resident Mac users: > > I know (or at least have heard) that Mac's EOLs are traditionally '\r'. But, > mac directory separators are traditionally ':' and I know that these days > macs can, and often do, use '/' just fine instead. So...are '\r' line > endings still in use and worth supporting, or have they pretty much > disappeared in favor of '\n'? (I'm mainly wondering for code, but also > curious about other text too). > >
