From: Zach Heilig Subject: Re: O_TEXT/O_BINARY grief To: olly AT mantis DOT co DOT uk (Olly Betts) Date: Mon, 20 Jun 1994 11:50:20 -0500 (CDT) Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Olly Betts says: > There is a problem with using \ to concatenate lines with CRs lying > around. The sequence \ CR LF doesn't join lines (or at least ANSI don't > say it has to -- see section 2.1.1.2). This has bitten me before. (That's ISO 5.1.1.2, btw... ANSI/ISO use different section numbers) I guess that makes the solution for sources files to always terminate lines with '\n' only, since dos compilers don't seem to mind. The only possible problem with that is people who port over to OS-9 or OS-9000 (maybe?) where lines end in '\r'. Also I remember someone wanting us to try editing a file with only \n's with a dos editor... The 'edit' program that comes with MS-DOS has never seemed to mind for me... (in fact, when I see a file look like this, I view it with 'edit' if nothing else is available. -- Zach Heilig (heilig AT cs DOT und DOT nodak DOT edu) == (heilig AT agassiz DOT cas DOT und DOT nodak DOT edu)