BSDIFF(1)
π BSDIFF π
okay bestie, welcome to the bsdiff page from the General Commands Manual β yes it's a manual-page manual page, we love a self-aware queen π
β¨ NAME β¨
bsdiff β generate a patch between two binary files π¦
β¨ SYNOPSIS β¨
bsdiff β¨oldfileβ© β¨newfileβ© β¨patchfileβ©
β¨ DESCRIPTION β¨
so basically bsdiff takes oldfile and newfile, does a little side-by-side comparison moment, and writes into patchfile a binary patch that's all ready to be used by bspatch(1) β¨
and here's the part that's genuinely giving main character energy: when oldfile and newfile are two versions of an executable program, the patches it produces are on average a factor of five smaller than the ones produced by any other binary patch tool known to the author. five times smaller. FIVE. no cap, that's iconic π
heads up though bestie, she is HUNGRY for RAM π bsdiff uses memory equal to 17 times the size of oldfile, and it needs an absolute minimum working set size of 8 times the size of oldfile. that's not a vibe, that's just the rules fr fr π
β¨ SEE ALSO β¨
bspatch(1)β the other half of the duo, the one that actually applies the patch π«Ά
β¨ AUTHORS β¨
Colin Percival <cperciva@freebsd.org> β thank you for your service legend πΈ
and that's the whole page bestie, we ate and left no crumbs π this was FreeBSD, dated May 18, 2003 β like, the manual page itself says BSDIFF(1) at the top and bottom, which is very demure, very mindful of her π bye ily, go patch something β¨π¦π
π¦ where this page comes from
- debian bookworm: bsdiff 4.3-23 Β· BSD-2-Clause
- debian trixie: bsdiff 4.3-23 Β· BSD-2-Clause
- fedora 43: bsdiff 4.3-37.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: bsdiff 4.3-39.fc44 Β· LicenseRef-Callaway-BSD
- nixos 26.05: bsdiff 4.3
- nixpkgs unstable: bsdiff 4.3
- opensuse-leap 16.0: bsdiff 4.3-bp160.1.12 Β· BSD-2-Clause
- opensuse-leap 16.0: bsdiff 4.3-bp160.1.12 Β· BSD-2-Clause
- opensuse-leap 16.0: bsdiff 4.3-bp160.1.12 Β· BSD-2-Clause
- opensuse-leap 16.0: bsdiff 4.3-bp160.1.12 Β· BSD-2-Clause
- ubuntu jammy: bsdiff 4.3-23 Β· BSD-2-Clause
- ubuntu noble: bsdiff 4.3-23 Β· BSD-2-Clause
- ubuntu resolute: bsdiff 4.3-23build1 Β· BSD-2-Clause
- ubuntu stonking: bsdiff 4.3-23build1 Β· BSD-2-Clause
- Copyright 2003-2005 Colin Percival
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms