1 #!/bin/sh 2 # cc-run - A simple script to compile and run a program with cc 3 out=$(mktemp /tmp/cc-run-XXXXXX) 4 trap "rm -f $out" EXIT 5 ${CC:-cc} -fdollars-in-identifiers -o "$out" $@ 6 $out