I prefer not to create new files. I want to accomplish something similar to:
cmd1 > a cmd2 > b cat a b b | sort | uniq -u
but without using files a and b.