Announcement

Collapse
No announcement yet.

text comparisons

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    text comparisons

    Hi,

    I have two text files, compiled over years, each thought to be the sole copy.

    It has only been the change from Suze to Kubuntu that brought this to light.
    There are differences of course. I need to produce a single document that includes all those differences.

    I have experimented with various terminal commands but have found nothing useful, so far in this regard.
    I hope to find a command that would print lines containing differing content, excluding spaces, and only those lines, numbered preferably!

    The document(s) are around the 80,000 word mark.

    They are currently in the odt format, but could be reduced to plain text for this purpose.

    Any and all suggestions listened to with great interest, and tested I've no doubt, the outcome being reported here, if that's deemed helpful.

    best regards

    Chris

    #2
    Kompare will do what you want I think. It will show the different lines and the extra lines (those that exist only in one file) and let you save the difference. Text format would be better for this for sure.

    Please Read Me

    Comment


      #3
      For odt, you can do this from within Libreoffice:
      https://help.libreoffice.org/6.2/en-...occompare.html

      Comment


        #4
        KDiff3 - http://kdiff3.sourceforge.net/
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          thanks folks, I'll try these out and let yeu know the result!
          best regards
          Chris

          Comment

          Working...
          X