Friday, June 29, 2018

Re: Perform diff as exact line match

On Friday, June 29, 2018 at 8:57:45 AM UTC-6, Gary Johnson wrote:
> I _think_ I understand what you want, but I don't know of a way to
> make Vim's internal comparison algorithm do that.
>
> Either of these two Linux commands will generate an output of only
> the lines common to file1 and file2, if that helps.
>
> diff --changed-group-format= file1 file2
> comm -12 file1 file2
>
> The comm command requires that the two files be sorted, but that's
> what you have.

Hi Gary,
That's insightful but is the side-by-side comparison I was hoping for in
vim so I could visually assess how the collections differed.

Thanks for the follow up.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: