Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site avsdS.UUCP Path: utzoo!linus!decvax!tektronix!hplabs!hpda!fortune!dsd!avsdS!tooch From: tooch@avsdS.UUCP (Michael J. Tuciarone) Newsgroups: net.lang.c Subject: Re: C programming style Message-ID: <81@avsdS.UUCP> Date: Thu, 18-Jul-85 19:54:33 EDT Article-I.D.: avsdS.81 Posted: Thu Jul 18 19:54:33 1985 Date-Received: Mon, 22-Jul-85 00:07:03 EDT References: <11434@brl-tgr.ARPA> <303@ur-laser.uucp> <186@drivax.UUCP> <74@avsdS.UUCP> Organization: Ampex Audio-Video Engineering, Redwood City, CA Lines: 24 Dammit! Nroff zapped me again! The line in my previous posting <74@avsdS.UUCP> which read > while ( (*cp++ = getchar()) != '0 ) > ; and was supposed to be a glorious example of good C style that would, shining before us like the Holy Grail, lead us to the Promised Land of Good Coding Practices... got screwed up. It was *supposed* to read while ( (*cp++ = getchar()) != '\n' ) ; ^^^ Thus does the Master, whilst enlightening the Novices, fall flat upon his Ass. Flames will be received in long-suffering silence. Mike Tuciarone ...{hplabs, decvax}!atd!tooch@avsdS And hey...hey!...HEYY!!! ...Let's be *careful* out there.