Dennis Ritchie’s first C compiler (c. 1972)
I have to say, the way indentation and brackets were done here looks like it's just inviting subtle bugs. Take this for example:    if (peekc) {
      c = peekc;
      peekc = 0;
     } else
      if (eof)
       return(0); else
       c = getchar();