Linux Shell文件差集
时间:2014-09-28 19:54:45
收藏:0
阅读:179
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
评论(0)