From Wikipedia - “Process substitution is a form of inter-process communication that allows the input or output of a command to appear as a file. The command is substituted in-line, where a file name would normally occur, by the command shell. This allows programs that normally only accept files to directly read from or write to another program.”
Say you want to use join to find and count the differences in two files each containing lines of biological sequence but those files are not sorted.
You could do
This would give you the number of unmatched entries in seqfile1 when comparing it with seqfile2
One can also do this using process substitution