tech-userlevel archive

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

Re: Replacing GNU diff




> On Dec 27, 2025, at 1:16 PM, nia <nia%NetBSD.org@localhost> wrote:
> 
> On Sat, Dec 27, 2025 at 12:29:37PM -0800, Jason Thorpe wrote:
>> 
>>> On Dec 27, 2025, at 12:22 PM, nia <nia%netbsd.org@localhost> 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



Home | Main Index | Thread Index | Old Index