You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I'd like to work for this issue, this issue appears to be available (last activity was nearly a year ago).
After investigating the current code I've found that the existing side_diff implementation isn't fully GNU-compatible for sdiff's requirements. I'm proposing to split the implementation into 4 phases with separate PRs:
Basic non-interactive implementation of sdiff, which is just reusing side_diff
I did not write code for the core comparing functionality and #159 of @zxvfc can easily be adapted. Since only the Param has changed a bit. I will try to merge #159 into my code and add a second PR, so both of these go nicely together.
Activity
sami-daniel commentedon Apr 15, 2025
taking this up
zxvfc commentedon Jan 7, 2026
Hi! I'd like to work for this issue, this issue appears to be available (last activity was nearly a year ago).
After investigating the current code I've found that the existing side_diff implementation isn't fully GNU-compatible for sdiff's requirements. I'm proposing to split the implementation into 4 phases with separate PRs:
sdiff, which is just reusingside_diffsylvestre commentedon Jan 7, 2026
please go ahead
sylvestre commentedon Jan 7, 2026
@sami-daniel please avoid doing that in the future :( thanks :)
zxvfc commentedon Jan 9, 2026
Added PR: #159
GunterSchmidt commentedon Mar 3, 2026
I did write a new parser for cmp and made it general, so it could be used for all diffutils. I used sdiff as one util to implement it.
I added PR #187.
I did not write code for the core comparing functionality and #159 of @zxvfc can easily be adapted. Since only the Param has changed a bit. I will try to merge #159 into my code and add a second PR, so both of these go nicely together.
shadowmkj commentedon Nov 15, 2026
Is this issue being worked? I'd like to take a look at it if nobody is actively working on it. Thanks
sylvestre commentedon Nov 15, 2026
not that i am aware of
you could restart from @GunterSchmidt work (and keep the credits if you do)
shadowmkj commentedon Nov 15, 2026
@sylvestre I skimmed through #193 and wasn't satisfied with the implementation strategy. So I decided to go with my own implementation from scratch.
I wanted to keep the code as similar as possible to the existing API for
diffandcmp. Also the options has been implemented using the GNU documentationshttps://www.gnu.org/software/diffutils/manual/html_node/Invoking-sdiff.html.
https://www.gnu.org/software/diffutils/manual/html_node/sdiff-Options.html
I have added a draft #399 - it has around 500 lines changed (which includes tests).