Re: OS X lineendig - \n or \r
Re: OS X lineendig - \n or \r
- Subject: Re: OS X lineendig - \n or \r
- From: The Amazing Llama <email@hidden>
- Date: Thu, 7 Aug 2003 16:11:18 -0700
On Thursday, August 7, 2003, at 04:01 PM, seaside.ki wrote:
Silly question, but which characters do I have to write to a file to
generate correct
line endings?
\n is not OK.
It's not?
'\n' is the UNIX line ending. That's becoming the standard on OS X,
too, AFAIKT.
'\r' is the Classic Mac ending. Most editors will still read these.
'\r\n' is the Windows ending. That's just silly.
When is \n not OK?
Seth A. Roby The Amazing Llama < mail or AIM me at tallama at mac dot
com>
"Life is like an exploded clown. It's really funny until you figure out
what just happened."
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.