Message Boards Message Boards

Comparing text files for differences

Posted 2 years ago

Hello everyone.

I found in the documentation there's a function called FileSystemCompare, which compares two folders and returns the differences. What I'm looking for is something similar, but for text files instead of folders (something like WinMerge, if you can try to use or know it).

A Linux example would be the Meld package (https://meldmerge.org/)

Thanks for any help.

POSTED BY: Ivano Arrighetta
4 Replies

Yep, thanks. Exactly what I was looking for.

POSTED BY: Ivano Arrighetta

I find the ExpressionLineDiff resource function to be very useful:

https://resources.wolframcloud.com/FunctionRepository/resources/ExpressionLineDiff

POSTED BY: Gustavo Delfino

Ok, I see.

Unfortunately, I'm not in such a situation, because I'm just looking around. I'm sorry for being annoying, I'll stop posting these questions now.

Regards

POSTED BY: Ivano Arrighetta
Posted 2 years ago

Are you hoping to find Mathematica resources that are equivalent to WinMerge or Meld? You might start searching in the function repository

https://resources.wolframcloud.com/FunctionRepository

or in the built-in text/string functions

https://reference.wolfram.com/language/guide/TextAnalysis.html

If you have a specific challenge/objective and you want help implementing a solution with Mathematica, then just post details of your situation and we can help.

Otherwise, it feels a bit vague to say you're looking for something similar to something else.

POSTED BY: Eric Rimbey
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract