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 from cmp or diff refer 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 ๐Ÿ‘‘๐Ÿซถ