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