IN=$(mktemp --suffix .pp) OUT=$(mktemp) cat > "$IN" fpc -l- -v0 -o"$OUT" "$IN" if [ $? -eq 0 ]; then exec "$OUT" fi