From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,176cc435d3b6eb0f,start X-Google-Attributes: gid103376,public From: "Centaury" Subject: How to detect new line from std_in? Date: 1998/04/15 Message-ID: <6h2j74$2se$1@news.tm.net.my>#1/1 X-Deja-AN: 344341741 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Organization: TMnet Malaysia Newsgroups: comp.lang.ada Date: 1998-04-15T00:00:00+00:00 List-Id: I'm writing a program that reads text from std_in whether by keyboard entry or file redirection. If I have something that looks like this; harlooo and welcome to the greatest circus my program would only recognise that there is 6 words, instead of 7. This is because to and the are joined together and become tothe as the data in my linked list. What is the keyword to detect new line (or is it something else??) Please reply Regards, Centaury