script.c (150B)
1 #if 0 2 3 bin="$(mktemp)" 4 cc -o "$bin" "$(realpath $0)" 5 "$bin" 6 7 exit 0 8 #endif 9 10 #include <stdio.h> 11 12 int main() { 13 printf("Hello, world!\n"); 14 return 0; 15 }
sebastiano.tronto.netSource files and build scripts for my personal website | |
git clone https://git.tronto.net/sebastiano.tronto.net | |
Download | Log | Files | Refs | README |
script.c (150B)
1 #if 0 2 3 bin="$(mktemp)" 4 cc -o "$bin" "$(realpath $0)" 5 "$bin" 6 7 exit 0 8 #endif 9 10 #include <stdio.h> 11 12 int main() { 13 printf("Hello, world!\n"); 14 return 0; 15 }