How to compare two text files
Jussi Lehtola
jussilehtola at fedoraproject.org
Thu May 6 13:12:54 UTC 2010
On Thu, 2010-05-06 at 18:27 +0530, W.H. Kalpa Pathum wrote:
> hi,
>
> I've got two text files containing email addresses one at a row. The
> number of rows in one file is different from the number of the other
> file. email addresses in one file is already there in the other file
> (there are some more also). What I want to do is extract the list
> which is not in the other file.
I suggest e.g.
# yum -y install kdiff3
$ kdiff3 file1 file2
According to my experience, kdiff shows the differences a lot more
clearly than plain diff.
--
Jussi Lehtola
Fedora Project Contributor
jussilehtola at fedoraproject.org
More information about the users
mailing list