in reply to
Re^2: redirect output from a command to another command
in thread redirect output from a command to another command
If you write to the file, and then use and delete it shortly thereafter, it may not even get written to the disk at all. It may simply reside in memory buffers. So don't be afraid of short-term temporary files. They can even be handy debugging tools--just comment out the delete, so you can see what the intermediate results were in an operation.
When your only tool is a hammer, all problems look like your thumb.