Linuxのコマンドライン、Bash言語において、meldで2つのコマンドの出力を比較する方法について紹介します。
yuis ASUS /mnt/c/pg$ cat > hoge.txt
hoge
hoge
fuga
fuga
foo
foo
yuis ASUS /mnt/c/pg$ cat > hoge02.txt
hoge
fuga
foo
foo
meld <(cat hoge.txt) <(cat hoge02.txt )

<( [commmad] )で、出力をテンポラリファイルとしてmeldに渡しています。
shell - Create a temporary file from a stdout redirect or pipe - Unix & Linux Stack Exchange