emacs-devel
[Top][All Lists]
Advanced

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

Re: off-topic: Conversion multi-line diff to single-line


From: Werner LEMBERG
Subject: Re: off-topic: Conversion multi-line diff to single-line
Date: Sat, 03 Sep 2011 08:38:33 +0200 (CEST)

>> Such an output greatly simplifies comparison of large sorted word
>> lists with sparse or systematic insertions, deletions, or changes.
> 
> I suggest you using `diff --side-by-side --suppress-common-lines' as
> is or by converting its output to the Diff normal format that would
> be trivial to do from the side-by-side format.

Thanks for the idea, but this is exactly equivalent to a normal diff
output.  Note that you can get output like this

       > foo1
       > foo2
       > foo3
       > foo4
  bar1 <
  bar2 <
  bar3 <

which is no longer trivial to convert.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]