On Mon, 4 Feb 2008 17:45:14 -0500, Shmuel Metz (Seymour J.) wrote:

>In <[EMAIL PROTECTED]>, on 02/04/2008
>   at 04:03 PM, Mark Zelden said:
>
>>The problem is Windows / DOS uses CR+LF and Unix just uses LF (newline)
>>(as does MAC from what I read).
>
>My understanding is that the Mac uses CR.
>
Used to.  Old info.  OS X is UNIX; 10.5 is reportedly even
UNIX-brandable.  (But UNIX doesn't constrain the choice of
newline character -- to wit: UNIX branded z/OS Unix System
Services doesn't use LF.)

Mac applications are pretty eclectic: The first occurrence
in a file of <LF>, <CR><LF> or <CR> imprints the convention
for processing the rest of the file and saving it back to
disk.  There are some holdouts; e.g. TN3270 X insists that
its profile be Classic Mac (<CR>) delimited.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to