file1-file2 => file3
file1=/data/aaa
file2=/data/bbb
file3=/data/ccc
sort -m <(sort $file1 | uniq) <(sort $file2 | uniq) <(sort $file2 | uniq) | uniq -u > $file3
时间: 2024-12-11 00:37:14
file1-file2 => file3
file1=/data/aaa
file2=/data/bbb
file3=/data/ccc
sort -m <(sort $file1 | uniq) <(sort $file2 | uniq) <(sort $file2 | uniq) | uniq -u > $file3