我需要通过两个不同的文件获得差异和uniq输出。如何在不同和uniq中找到两个文件内容
此时就把one.txt存盘
The lightning and thunder
They go and come;
But the stars and the stillness
Are always at home.
two.txt
The lightning and thunder
They go and come;
Tyger! Tyger! burning bright
In the forests of the night,
What immortal hand or eye
But the stars and the stillness
Are always at home.
我想在这样两种不同的方式来获得输出。
same.txt
The lightning and thunder
They go and come;
But the stars and the stillness
Are always at home.
diff.txt
Tyger! Tyger! burning bright
In the forests of the night,
What immortal hand or eye
But the stars and the stillness
使用'diff文件file2' – 2014-10-09 12:36:09
行 “但是明星与寂静” 不应该在'diff.txt' 。 – fedorqui 2014-10-09 12:44:00