New and improved! The previous post on one line!
October 20th, 2009This following bash code outputs the puzzlebot facebook email from my previous post with no extra output. This is one of those “just for fun things” that non-CS people don’t understand.
echo -e "#include <stdio.h>\nint main(int argc, char ** args){printf(\"%d@facebook.com\\\n\", 0xFACEB00C>>2); return 0;}" > fbmail.c; g++ fbmail.c -o fbmail; ./fbmail; rm fbmail.c fbmail
