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