<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Fri, 21 Sep 1990 11:07:55 GMT
From   : agate!linus!nixbur!nixpbe!peun11!josef@ucbvax.Berkeley.EDU (Moellers)
Subject: How "hard" is CR-LF

Hi,
Can somebody tell me how "hard" the CR/LF sequence is built into CP/M?
I'm asking this as I want to read a text-file line by line and need a
definite place to terminate the line.
UNIX uses a single \n, but with a two character sequence, I'm not sure
if LF is always the last character and the second last character is
always a CR which I can discard.

Regards,

--
| Josef Moellers               |       c/o Nixdorf Computer AG |
|  USA: mollers.pad@nixdorf.com        |       Abt. PXD-S14            |
| !USA: mollers.pad@nixdorf.de |       Heinz-Nixdorf-Ring      |
| Phone: (+49) 5251 104662     |       D-4790 Paderborn        |

<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>