# cat标准输入和一个文件到另一个文件
command1 | cat - file1 > file2
 
# cat两个命令的输出
cat <(command1) <(command2)
 
# cat标准输入和一个命令的输出
command1 | cat - <(command2)