run.sh 120 B

12345678910
  1. IN="$(mktemp --suffix .c)"
  2. OUT="$(mktemp)"
  3. cat > "$IN"
  4. gcc -o "$OUT" -xc "$IN"
  5. if [ $? -eq 0 ]; then
  6. exec "$OUT"
  7. fi