Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ukma.UUCP Path: utzoo!watmath!clyde!cbosgd!hasmed!qusavx!ukma!brian From: brian@ukma.UUCP (Brian Sturgill) Newsgroups: net.sources.bugs Subject: Re: flame of roff in 'C' by Butler Hine Message-ID: <456@ukma.UUCP> Date: Wed, 2-Jan-85 19:11:51 EST Article-I.D.: ukma.456 Posted: Wed Jan 2 19:11:51 1985 Date-Received: Sat, 5-Jan-85 04:38:23 EST Organization: Univ. of KY Mathematical Sciences Lines: 22 [ The posted version of this program does not work and was apparently [ never tested. As posted, any request at the beginning of a text file [ causes the whole file to be skipped because of a logic error in the [ basic input routine, called "suck()." It is well named. Leading [ spaces do not cause a line break since the logic to do this is missing. [ Blank lines disappear. Doubtless there are other bugs as well. [ [ Pity. Would have been useful. While it is true that the author of the program did ignore breaks at empty lines and space a beginning of a line, We had no problem here with commands a the beginning of the text file. The program in general seems to work, and the code is easy to read. I think the author should be congratulated not flamed. I for one am going to take his code and add also the MS macro set to it. I had wanted to do this to roff before, but it was in assembly language, and I didn't have the time to do a translation. Also, shouldn't flames about sources go into net.sources.bugs?