compare the content between two files

Features wanted...
Post Reply
CompSystems
Posts: 256
Joined: 09 Nov 2012 14:35
Location: Colombia
Contact:

compare the content between two files

Post by CompSystems »

Hello XYplorer users.

has a script to compare the content between two files?

For example, for notepad there is the following plugin
https://sourceforge.net/projects/npp-compare/support

Image

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: compare the content between two files

Post by highend »

No, but it's easy to do, just wrap everything into html and colorize the differences (line by line)...

Of course, no semantics...
One of my scripts helped you out? Please donate via Paypal

CompSystems
Posts: 256
Joined: 09 Nov 2012 14:35
Location: Colombia
Contact:

Re: compare the content between two files

Post by CompSystems »

Many users would like to have this option included in xyplorer, to explore not only files, but the contents of the files.

Another option would be to install or adapt third-party plugins

highend
Posts: 13274
Joined: 06 Feb 2011 00:33

Re: compare the content between two files

Post by highend »

There are enough applications out there that can compare files and show the differences. Most
of them can be fed with command line parameters. 2-3 lines of scripting or a PFA...
One of my scripts helped you out? Please donate via Paypal

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: compare the content between two files

Post by bdeshi »

Here's a catalog entry (based on a script by Enternal) that I had been using to compare files or folders with beyondcompare.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

John_C
Posts: 336
Joined: 16 May 2018 20:04

Re: compare the content between two files

Post by John_C »

I'm against it. The option to see the difference between files is, of course, a part of file management. But I don't think it is a good idea to make it a part of file manager.

* It could bloat the file manager ("bloatware")'
* It is too hard to competitive with separate utilities (https://www.araxis.com/buy/prices)

Actually, I don't use built-in search as well. I use Agent Ransack for it.

It should be also said that a lot of developers don't use diff utilities to compare local files. Instead, they use Git or Mercurial or SVN or some another version control system.

bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: compare the content between two files

Post by bdeshi »

John_C wrote: 17 Nov 2019 07:16 It should be also said that a lot of developers don't use diff utilities to compare local files. Instead, they use Git or Mercurial or SVN or some another version control system.
I use git-diff outside of git repos all the time :/
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Post Reply