| Andrew Williams 
 
 Posts:  6116
 Joined:  1/8/2001
 From:  Australia
 Status: offline
   | Was a Mac used to create those text files?   (Unix) 
 
 
 Software applications and operating systems usually represent a newline with one or two control characters:
 
 
 * Systems based on ASCII or a compatible character set use either LF (Line feed, '\n', 0x0A, 10 in decimal) or CR (Carriage return, '\r', 0x0D, 13 in decimal) individually, or CR followed by LF (CR+LF, 0x0D 0x0A). These characters are based on printer commands: The line feed indicated that one line of paper should feed out of the printer, and a carriage return indicated that the printer carriage should return to the beginning of the current line.
 
 o LF:    Multics, Unix and Unix-like systems (GNU/Linux, AIX, Xenix, Mac OS X, FreeBSD, etc.), BeOS, Amiga, RISC OS, and others
 
 o CR+LF: DEC RT-11 and most other early non-Unix, non-IBM OSes, CP/M, MP/M, MS-DOS, OS/2, Microsoft Windows, Symbian OS
 
 
 < Message edited by Andrew Williams -- 7/13/2010 11:42:13 PM  >
 |