Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!apple!agate!linus!nixbur!nixpbe!peun11!josef From: josef@nixpbe.UUCP (Moellers) Newsgroups: comp.os.cpm Subject: How "hard" is CR-LF Message-ID: Date: 21 Sep 90 11:07:55 GMT Sender: news@nixpbe.nixdorf.de Distribution: comp Lines: 15 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 |