Hello, world!

Posted on Tue 17 May 2016 in misc • Tagged with programming

Hello! This is my first post. So...

tmp=`mktemp`; gcc -x c -o $tmp - << EOF &> /dev/null && $tmp
#include <stdio.h>
int main() {
  printf("Hello, world!\n");
}
EOF

Which should output:

Hello, world!