Re: [dev] diff and patch
On Wed, Feb 2, 2022 at 7:53 AM Mattias Andrée wrote: > I don't have diff(1) readily available, but you > should be able to find it on the mailing list. Was this the latest or is there a later version: https://lists.suckless.org/dev/1602/28395.html Nicely done on the diff implementation. The code is much more concise than BSD diff and the results for a unified diff are almost exactly the same in the examples I tested. Results for GNU diff varied but it uses a different algorithm (Myers instead of longest common subsequence).
Re: [dev] diff and patch
On Wed, 2 Feb 2022 07:48:39 -0500 LM wrote: > I've been looking at non-GNU implementations of diff and patch. The > BSD systems, Plan 9 and toybox all have their own implementations. > Has anyone found other non-GNU licensed Open Source alternatives for > these programs? Does anyone else use diff and patch alternatives that > are not GNU licensed and if so, which alternatives do you prefer? > I prefer my own implementations, that have not yet been merged into sbase. You can find patch(1) here: https://github.com/maandree/sbase/blob/patch/patch.c I don't have diff(1) readily available, but you should be able to find it on the mailing list.
[dev] diff and patch
I've been looking at non-GNU implementations of diff and patch. The BSD systems, Plan 9 and toybox all have their own implementations. Has anyone found other non-GNU licensed Open Source alternatives for these programs? Does anyone else use diff and patch alternatives that are not GNU licensed and if so, which alternatives do you prefer?