in reply to Re^2: Sending open file contents through an external program
in thread Sending open file contents through an external program
As it turned out, for various reasons, I had to create an intermediate file anyway. But this example is just what I was after - many thanks, I will surely have use for it sometime soon.