Skip to main content
2 of 2
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/

C, 475 bytes by rexroni

#include<unistd.h> #define a char #define b * #define c write #define d stdin #define e stdout #define f read #define g ( #define h ) #define i while #define j if #define k 0 #define l & #define m , #define n = #define o ; #define p 1 #define gpml ml h #define abo #define ml d m p #define jg d o abo #define lb abo d #define gf h abo c #define jgm b e n #define pml f g #define gpm lb int main(){a jg a jgm l jg i g pml k m l gpml h j g d!=' '&&gpm!='\n'gf g p m l gpml o} 

I might start using some of these defines :)

After the pre-processor the code looks something like this:

int main(){ char stdin; char *stdout = &stdin; while(read(0, &stdin, 1)) if(stdin !='' && stdin!='\n') write(1, &stdin, 1); } 
Riley
  • 11.7k
  • 2
  • 23
  • 53