[Macpartners] What is the Mac OS X "standard" line ending?
David M Rosenberg
rosenberg at MIT.EDU
Wed Oct 26 11:50:51 EDT 2005
Is there a clear direction in which Apple is heading with respect to
line endings in text files?
I know that some programs can deal with either Mac OS 9 line endings
(a single Carriage-Return character), Unix line endings (a single
Line-Feed character), or DOS line endings (a Carriage-Return +
Line-Feed pair). I also know that other programs give you the option
of generating files with the user's choice of line endings.
My question is: What does Apple consider to the "standard" line
endings to be used in a text file written by a Mac OS X program in a
circumstance where you can't ask the user to choose?
I would be especially appreciative to have a pointer to an official
Apple statement to the effect that: "In Mac OS X the 'standard line
ending' is ...."
--
/David M Rosenberg <rosenberg at mit.edu> 1-617-253-8054
MIT / IS&T / Admin Computing / Technical Services
More information about the Macpartners
mailing list