Re: Function to show Diff of two files

Hi Michelle, hi list,

On Sat, July 12, 2008 12:11 am, Michelle Konzack wrote:
Am 2008-07-10 11:49:52, schrieb Frank Lanitz:
Hi guys,

I'm looking for a function to show the diff between two files from
the mc on a shell. I did see something like that on Total commander and
was wondering, if this is also possible with Midnight Commander.
In best way, there should be a splitted window, that compare chosen
and highlight the changes.

Searching for gave me no usable outcome, so I'm asking here ;)

You mean an a command which show a DIFF from a file in  the  left  panel
and a file from the right panel?

This would be something like:

----[ '~/.mc/menu' ]----------------
D       DIFF two files
        diff -Nurp %d/%p %D/%P |less

Thanks for the hint. I'm going to try it whether it fits my needs.


P.S. Small world ;)

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]