[email protected]
[Top] [All Lists]

Re: Function to show Diff of two files

Subject: Re: Function to show Diff of two files
From: "Frank Lanitz"
Date: Mon, 14 Jul 2008 08:13:22 -0000 UTC
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
>> within
>> 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
>> files
>> 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.

Regards,
Frank

P.S. Small world ;)



_______________________________________________
Mc mailing list
http://mail.gnome.org/mailman/listinfo/mc

<Prev in Thread] Current Thread [Next in Thread>