Skip to content

Instantly share code, notes, and snippets.

Last active Feb 6, 2018
What would you like to do?
C source runnable from shell
///usr/bin/cc -o "${0%.c}" "$0" && exec "./${0%.c}"
// Author: Olivier Mengué
// Install: chmod u+x hello.c
#include <stdio.h>
int main()
puts("hello world");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment