IN="$(mktemp --suffix .cs)" OUT="$(mktemp --suffix .exe)" cat > "$IN" mcs -out:"$OUT" "$IN" if [ $? -eq 0 ]; then # 10000iq move mono "$OUT" | tail -n +2 fi