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