Skip to content

Instantly share code, notes, and snippets.

@wrboyce
Last active August 29, 2015 14:17
Show Gist options
  • Save wrboyce/2cfe49ac175935218cb1 to your computer and use it in GitHub Desktop.
Save wrboyce/2cfe49ac175935218cb1 to your computer and use it in GitHub Desktop.
#/* USAGE: sh hello.c
gcc ./$0 -o ./${0%.*}
./${0%.*}
exit $?
*/
#include <stdio.h>
int
main(void)
{
printf("Hello World!\n");
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment