Similarity and/or Diff of two ODT documents (Linux)
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Music Box Puzzles
--
Chapters
00:00 Similarity And/Or Diff Of Two Odt Documents (Linux)
00:35 Accepted Answer Score 8
00:46 Answer 2 Score 1
01:02 Answer 3 Score 26
01:27 Answer 4 Score 1
01:42 Thank you
--
Full question
https://superuser.com/questions/162349/s...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#ubuntu #diff #odt
#avk47
ANSWER 1
Score 26
Did you try the built-in compare functionality? Edit -> Track Changes -> Compare Document....
If you just want a textual diff, your best bet is probably to convert both documents to plain text, then run a regular diff on them. You will have to figure out how to normalize linebreaks though, otherwise the diff will not be very useful.
ACCEPTED ANSWER
Score 8
I haven't tried them myself but this pair of tools - odt2txt and oodiff - looks promising.
ANSWER 3
Score 1
If you don't care about text formatting, you may as well copy the contents to plaintext files and use good old diff.
ps: Are you a teacher looking for possible cheaters ? :p
ANSWER 4
Score 1
The way I do this is to produce .pdf files with libreoffice and then use diffpdf to compare the two pdf files. This shows the differences highlighted in parallel windows