#!/bin/sh
script=${1+"$@"}
src=$$.s
bin=$$
perl -nle 'print if 1<$. || !/^#!/' $script > /tmp/$src
cd /tmp
cc -Wall $src -o $bin && ./$bin
rm $src $bin