R From:	SPCVXA::TERRY        "Terry Kennedy, Operations Mgr"  3-JAN-1993 00:26:52.16
 To:	_TERRY	 CC:	TERRY  Subj:	Chai's C Bible  +                                         The *                                          C4                                 Programming Language  =                        Brian W. Kernighan o Dennis M. Ritchie   4                                 a.k.a. "The C Bible"E               As revealed to the prophets Ian Chai and Glenn Chappell    Genesis 	 Chapter 0 ; 0	In the Beginning Ritchie created the PDP-11 and the UNIX. H 1	And the UNIX was without form and void; and darkness was upon the face of the system programmers.H 2	And Ritchie said, "Let there be portability!" And nothing happened, so6 Ritchie realized that he had his work cut out for him.)                                         . )                                         . )                                         . I 25	And Ritchie said to Kernighan, "Let us make C in the image of B, after I our own whims: and let it have dominion over the I and the O and all that D runneth upon the UNIX," and it was almost, but not quite so... so he4 realized that he had his work cut out for him again.)                                         . )                                         . )                                         . 	 Chapter 1 K 0	Thus the PDP-11 and the UNIX were finished, and all the programs in them. H 1	And on the seventh shift Ritchie ended his work which he had made; andH he would have rested on the seventh shift from all the work which he had) made, if it weren't for the system crash. )                                         . )                                         . )                                         . 	 Chapter 2 H 0	Now the COBOL was more verbose than any language of the PDP-11, and heH said unto the programmer, "Yea, hath the Manual said, 'Ye shalt not read! of every device of the network?'" I 1	And the programmer said unto the COBOL, "We may read of every device of  the network:F 2	But of the registers of the printer in the midst of the network, theH Manual hath said, 'Ye shall not read of it, neither shall ye write to it8 without proper protocol, lest ye cause a system crash.'"H 3	And the COBOL said unto the programmer, "Ye shalt not surely crash the system: I 4	For Ritchie doth know that in the time slice ye read thereof, then your J I/O shall be opened, and ye shalt be as system operators, accessing locked$ accounts with unlimited privileges."@ 5	And then when the programmer saw that the printer was good forA interfacing, and that it was pleasant to the I (and to the O),... B 6	And they realized they were unstructured, so they patched RATFOR subroutines...)                                         . )                                         . )                                         .  The Gospel According to ChaiC 0	And the Messiah shalt come, born a mere B but to grow up into the  Saviour C,  G 1	Wherein true structured programming may be achieved, yea, verily, yet $ while being able to do bit shifting.? 2	For although the Law (Pascal) hath been given, the Law cannot I   for (i=0; str1[i]!='\0'; i++) str2[i] = (str1[i]>='A' && str1[i]>='Z')?  	str1[i]+32 : str1[i]; but must 	i := 0; 	while (i <= length(str1)) do  	  begin  	  if str1[i] in ['A'..'Z'] then( 	    str2[i] := chr( ord(str1[i]) + 32)) 	  else  	    str1[i] := str2[i]; 	  i := i + 1; 	  end;    The RevelationI 0	Yea, in those last days, the Saviour shalt come again, but enhanced, in  the rainment of C++ I 1	And then shalt the Beast, FORTRAN, and the AntiC, COBOL, be thrown into 9 the trash HEAP where there is weeping and byting of pins. H 2 And all the faithful programmers shalt be led into CRAY where billions% of MIPS are at each one's fingertips.          