[OT] Modern-day Mac EOLs?

Marianne Gagnon auria.mg at gmail.com
Mon Sep 7 15:03:57 PDT 2009


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). 
> 
> 




More information about the Digitalmars-d mailing list