Re: Replacing GNU diff
Jason Thorpe <[email protected]> Sat, 27 Dec 2025 14:45:19 -0800
| Newsgroups | gmane.os.netbsd.devel.userlevel |
|---|---|
| Message-ID | <[email protected]> |
> On Dec 27, 2025, at 1:16 PM, nia <[email protected]> wrote: > > On Sat, Dec 27, 2025 at 12:29:37PM -0800, Jason Thorpe wrote: >> >>> On Dec 27, 2025, at 12:22 PM, nia <[email protected]> wrote: >>> >>> After importing it, improving the tests, and battle testing it with a >>> pkgsrc quarterly patching frenzy, I think this version of diff is >>> ready for production. >>> >>> I'd like to flip the default and see if anyone discovers any problems. >> >> No objections here, but a question: is it smaller than GNU diff? Asking for a friend. :-) >> > > Does the friend have a 68010 processor by any chance? MAYBE ;-) > $ size /usr/bin/diff > text data bss dec hex filename > 37304 2424 904 40632 9eb8 /usr/bin/diff > $ size /usr/bin/diff-gnu > text data bss dec hex filename > 101690 3632 1800 107122 1a272 /usr/bin/diff-gnu Hooray! \o/ -- thorpej