Sandwiches.
June 3, 2007 at 4:55 pm 4 comments
#include <stdio.h>
#include <unistd.h>
int main (int argc, const char * argv[]) {
if(getuid() != 0) {
printf("What? Make it yourself.\n");
return 1;
} else {
printf("Okay.\n");
return 0;
}
}
Entry filed under: code.

1. Michael James | June 14, 2007 at 12:30 am
LOL. That’s hilarious. If only life were that easy!
On that note, if I could fork a copy of myself and have it go to work for me (in the background, of course), that’d be great.
2. Eelco Hillenius | June 19, 2007 at 10:18 pm
My girlfriend says her name is not sudo.
3. atma | July 15, 2007 at 11:10 am
Funny!
4. Mackenzie | October 9, 2007 at 11:56 pm
Incidentally, I’m attempting to muddle my way through make’s source code to add this as an Easter Egg. Mine would print out an ASCII-Art sandwich though. Make’s source is zomgwtfux0r insane though.