This is a common situation: you want to include command 'foo' as part of a pipeline, but unfortunately command 'foo' only accepts actual filenames for I/O and does not read/write from stdin/stdout. I know that there's an Unix command which acts as a wrapper for misbehaved commands such as 'foo', but I can't remember its name. What is it?
This is called process substitution and, although not being standard, is available at least with both ksh and bash.
In simple cases like the previous example, the pipeline can be reduced like this:
I think you want mkfifo, which can create named pipes which function like files.