Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!sundc!hadron!jsdy From: jsdy@hadron.UUCP (Joseph S. D. Yao) Newsgroups: comp.unix.wizards Subject: Re: C preprocessor portability question -- initial # Message-ID: <633@hadron.UUCP> Date: Wed, 26-Nov-86 00:14:55 EST Article-I.D.: hadron.633 Posted: Wed Nov 26 00:14:55 1986 Date-Received: Wed, 26-Nov-86 09:51:58 EST References: <2484@phri.UUCP> <1153@cit-vax.Caltech.Edu> Reply-To: jsdy@hadron.UUCP (Joseph S. D. Yao) Organization: Hadron, Inc., Fairfax, VA Lines: 33 Summary: Header comments existed. In article <1153@cit-vax.Caltech.Edu> mangler@cit-vax.Caltech.Edu (System Mangler) writes: >In article <2484@phri.UUCP>, roy@phri.UUCP (Roy Smith) writes: >> Back in the "good old days" (i.e. v6) a c source file was only run >> through the preprocessor if the first character in the file was a '#'. >Now I understand why it's so rare to see identifying comments at >the beginning of Unix source files! I don't see that. A bunch of software came out in those days: -------------------- # /*********************************************************************\ ** ** myprog - my program ** ** Syntax: ** myprog [ -option ] [ files ... ] ... etc. ** \*********************************************************************/ #etc. -------------------- I authored some of it, and tried to encourage this kind of documentation in my group. These days, we just lop the first two lines. (For people with line truncators, line 3 ends "**\" and line 11+N ends "**/", just for pretty.) -- Joe Yao hadron!jsdy@seismo.{CSS.GOV,ARPA,UUCP} jsdy@hadron.COM (not yet domainised)