BZDIFF(1)
โจ BZDIFF(1) โ bzcmp, bzdiff ๐
okay so this is the manual page for bzcmp and bzdiff ๐ (the manual name is bzcmp, bzdiff, a.k.a. the "compare bzip2 compressed files" tools ๐ฆ), straight out of the General Commands Manual. bestie, these two are literally the tools you reach for when you want to compare bzip2 files without manually unzipping them first ๐
๐ธ NAME
bzcmp, bzdiff โ compare bzip2 compressed files โจ
๐ง SYNOPSIS
bzcmp [ cmp_options ] file1 [ file2 ]
bzdiff [ diff_options ] file1 [ file2 ]
๐ DESCRIPTION
okay so bzcmp and bzdiff are basically the glam wrappers ๐
that invoke the cmp or the diff program on bzip2 compressed files ๐ซถ every option you pass gets handed straight through to cmp or diff, no cap. if you only give it 1 file, the files being compared are file1 and an uncompressed copy of it called file1.bz2 ๐ if you give it two files, they get uncompressed if they need to be and then fed into cmp or diff โจ and the exit status from cmp or diff is preserved, so the result is still the real one ๐ฅ
๐ SEE ALSO
cmp(1), diff(1), bzmore(1), bzless(1), bzgrep(1), bzip2(1) ๐
๐ BUGS
โ ๏ธ lowkey the messages fromcmpordiffrefer to temporary filenames instead of the ones you actually specified ๐ญ so if the output looks confusing, that's why ๐
bzdiff's manual page, from BZDIFF(1) in the General Commands Manual ๐ฆ periodt, bestie, go compare some files and slay ๐๐ซถ
๐ฆ where this page comes from
- alpine 3.22: bzip2-doc 1.0.8-r6 ยท bzip2-1.0.6
- alpine 3.23: bzip2-doc 1.0.8-r6 ยท bzip2-1.0.6
- alpine 3.24: bzip2-doc 1.0.8-r6 ยท bzip2-1.0.6
- centos-stream 10: bzip2 1.0.8-25.el10 ยท BSD-4-Clause
- centos-stream 9: bzip2 1.0.8-11.el9 ยท BSD
- debian bookworm: bzip2 1.0.8-5+b1 ยท BSD-variant
- debian trixie: bzip2 1.0.8-6 ยท BSD-variant
- fedora 43: bzip2 1.0.8-21.fc43 ยท BSD-4-Clause
- fedora 44: bzip2 1.0.8-23.fc44 ยท BSD-4-Clause
- nixos 26.05: bzip2-static 1.0.8
- nixpkgs unstable: bzip2 1.0.8
- opensuse-leap 16.0: bzip2 1.0.8-160000.3.1 ยท BSD-3-Clause
- opensuse-leap 16.0: bzip2 1.0.8-160000.3.1 ยท BSD-3-Clause
- opensuse-leap 16.0: bzip2 1.0.8-160000.3.1 ยท BSD-3-Clause
- opensuse-leap 16.0: bzip2 1.0.8-160000.3.1 ยท BSD-3-Clause
- ubuntu jammy: bzip2 1.0.8-5build1 ยท BSD-variant
- ubuntu jammy: bzip2 1.0.8-5ubuntu0.1 ยท BSD-variant
- ubuntu noble: bzip2 1.0.8-5.1 ยท BSD-variant
- ubuntu noble: bzip2 1.0.8-5.1ubuntu0.1 ยท BSD-variant
- ubuntu questing: bzip2 1.0.8-6build1 ยท BSD-variant
- ubuntu resolute: bzip2 1.0.8-6build2 ยท BSD-variant
- ubuntu resolute: bzip2 1.0.8-6ubuntu0.1 ยท BSD-variant
- ubuntu stonking: bzip2 1.0.8-6build2 ยท BSD-variant
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms