Some commands only output to stdout.
Some tools only work on files.
Is there a command that can glue those together?
Contrived simple example:
diff $(echo 1 | stdout-to-temp-file) $(echo 2 | stdout-to-temp-file)
My actual use case; Current workaround:
git show HEAD:$1 > /tmp/left && meld /tmp/left $1
My actual use case; Desired:
meld $(git show HEAD:$1 | stdout-to-temp-file) $1
I'd use this in a few other situations too (i.e. I'm not looking for a git or meld only fix).
