Named pipes

diff <(ls ./old) <(ls ./new)

This creates a virtual file with the contents of the output of ls ./old.

References