Friday, June 29, 2018

Re: Perform diff as exact line match

On 2018-06-29, arocker wrote:
> >> diff --changed-group-format= file1 file2
> >> comm -12 file1 file2
> >>
>
> > 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.
> >
>
> Pipe into less? E.g. comm -12 file1 file2 | less

There's also sdiff:

sdiff file1 file2 | less

or

sdiff file1 file2 | vim -

Regards,
Gary

--
--
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: