[Tutor] File Compare

Danny Yoo dyoo at hashcollision.org
Fri Jan 9 11:54:45 CET 2015


> The ideal of output of this program is to show if there is any new
> number added to the new file.
>
> In other words,  the file content of file1 [0001.hk, 0002.hk, 0003.hk,
> 0004.hk] is comparing with the file content of file2 [0001.hk,
> 0002.hk, 0003.hk, 0005.hk].
>
> The result should be +0005.hk, -0004.hk

Ok, this is helpful.  Thanks.

If the file content were to be scrambled a bit (say, like 0005.hk shows up
first in the file), should that affect the answer you want?


More information about the Tutor mailing list