diff-lcs icon indicating copy to clipboard operation
diff-lcs copied to clipboard

Generate difference sets between Ruby sequences.

Results 9 diff-lcs issues
Sort by recently updated
recently updated
newest added

It is unclear to me if (at all) and how to define what constitutes equality for diff-lcs. I tried overriding `==` operator but this did not work. Looking into the...

I'm looking for a way to quickly display a diff of two strings. The logic in Diff::LCS::Ldiff seems to do the right thing, but it comes with extra stuff needed...

Feature

I'm liking the output of `sdiff` but each "segment" is a separate object. Would it be possible to merge adjacent objects with similar actions into 1 object? In my case...

Feature

I currently use ```ruby rawDiff = Diffy::Diff.new(other.trace_orig, self.trace_orig) diff_as_html=rawDiff.to_s(:html) ``` But diffy calls another executable. In our case we use ldiff as provided by liff-lcs. I wanted to achieve something...

Feature

This PR added Ruby 3.2 and Ruby 3.3 to CI matrix

Replace the deprecated `GPL-2.0+` SPDX tag [[1]] with the current `GPL-2.0-or-later` identifier. [1]: https://spdx.org/licenses/GPL-2.0+.html - - - This change is [](https://reviewable.io/reviews/halostatue/diff-lcs/86)

``` $ cat > a 123 x ^D $ cat > b 456 x ^D $ ldiff -U 3 a b --- a 2024-04-12 04:32:36.000000000 -0400 +++ b 2024-04-12 04:32:40.000000000...

These formats are super old and very unlikely used. Their implementation was broken for a while and no-one reported it. The GNU doc say that ed format is "almost obsolete"....