run.sh 123 B

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