使用 diff 比较两个命令的输出
使用 diff 比较两个命令的输出
使用 bash 的 process substitution 将输出重定向到文件描述符中。
diff <
(
ls old
)
<
(
ls new
)
修订记录
2022-10-17T20:06:07+08:00
创建。