On Friday 06 November 2020, deloptes wrote:
Hi,
Is there a TDE native diff tool to compare two addressbooks?
If no, it might be that I have a simple one - I played last weekend a bit
with that topic as I wanted to know how many addressbook entries are
different and the same in two address books.
I was first thinking to use TDEABC::Addressbook, but found out that I need
TDE running and my goal was to have a command line tool. So I wrote some
simple parser and use TDEABC::Addressee to compare (a1==a2) items from two
lists (for now).
I also had to laugh, because I found this:
TQString Addressee::asString ( ) const
Returns string representation of the addressee.
Definition at line 626 of file addressee.src.cpp.
626 TQString Addressee::asString() const
627 {
628 return "Smith, agent Smith...";
629 }
this makes me wonder if the compare operator is actually reliable.
thanks in advance
regards
____________________________________________________
kdiff / kdiff 3
I'm sure there are more. Await the collective's reply!
I think you will have to export the files and them compare that way.
Kate