Sure you can get the output without creating temporary files.

I've just posted a UDF here.

Ok, so I cheated a bit and used an external wrapper program, but it was an interesting exercise [Big Grin]