[OS X TeX] old Apple end-of-lines
herbs at wideopenwest.com
Mon Jan 19 12:01:21 EST 2009
On Jan 19, 2009, at 10:20 AM, André Bellaïche wrote:
> Thank you.
> Since Apple end of line is CRLF = \r\n (I suppose \n = newline means
> linefeed), and Unix end of line is LF = \n, this means I should
> replace with tr any \n by \r\n.
> Do you think that
> tr \n \r\n <file1 > file2
> could work ?
Old Apple EOL was \r, Unix EOL (and new Apple EOL) is \n (line feed)
and Windows EOL \r\n.
(herbs at wideopenwest dot com)
More information about the MacOSX-TeX