Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!mips!daver!tscs!tct!chip From: chip@tct.uucp (Chip Salzenberg) Newsgroups: comp.lang.c Subject: Re: How can I de-escape my strings at run time? Message-ID: <266E6F4C.3734@tct.uucp> Date: 7 Jun 90 15:14:20 GMT References: <+2X3GW9@xds13.ferranti.com> Organization: ComDev/TCT, Sarasota, FL Lines: 17 According to peter@ficc.ferranti.com (Peter da Silva): >meissner@osf.org (Michael Meissner) writes: >> The C standard mandates that \r and \n have separate numeric values. > >That'll be fun for Microware and people using OS/9. I once did a cross-compiler for OS/9. OS/9 text files have lines terminated with 0x0D. So I defined '\n' as 0x0D. I had to define '\r' as something different from '\n'. You guessed it. I defined '\r' as 0x0A. Shoot me now. -- Chip, the new t.b answer man ,