Comment Comment by anateus In fish shell the canonical example is this: diff (sort a.txt|psub) (sort b.txt|psub) The psub command performs the process substitution. parent anateus 11 years ago