我有两个文本文件 file1.txt 和 file2.txt
file1.txt 包含:
a
b
c
file2.txt 包含:
a
b
c
d
e
f
输出应该是:
d
e
f
我尝试使用的命令是“diff file2.txt file1.txt” 它只给出了公共(public)线路。
最佳答案
关于linux - 如何使用 shell 脚本查找两个文本文件之间的不常见行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32471989/