oggz-diff(1)

πŸ’– oggz-diff πŸ’–

okay bestie, welcome to the oggz-diff(1) page, straight out of the General Commands Manual β€” grab a strawberry πŸ“ and let's get into it.


✨ NAME ✨

oggz-diff β€” hexdump the packets of two Ogg files and output differences


🌸 SYNOPSIS 🌸

oggz-diff [options] [OGGZDUMP_OPTIONS] [DIFF_OPTIONS] file1.ogg file2.ogg
options: [--verbose] [-v | --version] [-h | --help]
OGGZDUMP_OPTIONS: [-b | --binary] [-x | --hexadecimal]
                  [-c content-type | --content-type content-type]
                  [-s serialno | --serialno serialno]
                  [-O | --hide-offset] [-S | --hide-serialno]
                  [-G | --hide-granulepos] [-P | --hide-packetno]
DIFF_OPTIONS: [-q | --brief] [-C NUM | --context[=NUM]]
              [-u | -U NUM | --unified[=NUM]] [-e | --ed]
              [--normal] [--rcs] [-y | --side-by-side] [-l | --paginate]

πŸ¦‹ DESCRIPTION πŸ¦‹

so like. oggz-diff is a sh script, right? it uses oggz-dump to generate hexadecimal packet dumps of each input file, and then it outputs the difference between those dumps using diff. that's the whole vibe. no cap. πŸ’…


πŸ‘‘ OPTIONS πŸ‘‘

oggz-diff forwards a subset of options accepted by oggz-dump and diff. if you want the full lore, go read oggz-dump(1) and diff(1) β€” they spill all the details. 🫢

πŸŽ€ oggz-dump format options

  • -b, --binary β€” generate a binary dump of each packet ✨
  • -x, --hexadeciaml β€” generate a hexadecimal dump of each packet
not me noticing the option in the manpage is literally spelled --hexadeciaml, and yes, we are keeping it exactly like that, periodt πŸ’€

πŸ”₯ oggz-dump filtering options

  • -c content-type, --content-type content-type β€” dump only the logical bitstreams for a specific content-type. run oggz-known-codecs(1) to get the full list of codecs known by the installed version of oggz. iykyk 🌈
  • -s serialno, --serialno serialno β€” dump only the logical bitstream with the specified serialno.
  • -O, --hide-offset β€” hide the byte offset field of the preamble for each packet dumped. this is particularly useful when you're comparing Ogg bitstreams that differ only in page structure. iconic for that exact situation πŸŽ€
  • -S, --hide-serialno β€” hide the serialno field of the preamble for each packet dumped. particularly useful when comparing Ogg bitstreams that differ only in serialno assignment. slay ✨
  • -G, --hide-granulepos β€” hide the granulepos field of the preamble for each packet dumped.
  • -P, --hide-packetno β€” hide the packetno field of the preamble for each packet dumped.

πŸ’œ diff options

heads up bestie: the -w (--ignore-all-space) option to diff is always implied. it's just built in, no takebacks πŸ’…
  • -q, --brief β€” output only whether files differ.
  • -C NUM, --context[=NUM] β€” output NUM lines of copied context.
  • -u, -U NUM, --unified[=NUM] β€” output NUM (default 3) lines of unified context.
  • -e, --ed β€” output an ed script.
  • --normal β€” output a normal diff.
  • --rcs β€” output an RCS format diff.
  • -y, --side-by-side β€” output in two columns.
  • -l, --paginate β€” pass the output through pr to paginate it.

🧚 Miscellaneous options

  • --verbose β€” display verbose messages. tell me everything fr fr 😭
  • -v, --version β€” display version information and exit.
  • -h, --help β€” display usage information and exit.

🌟 AUTHOR 🌟

Conrad Parker


Copyright Β© 2003 CSIRO Australia


🌈 SEE ALSO 🌈

oggz-dump(1), diff(1), patch(1)


and that's the whole page, bestie!! go forth and diff those Ogg packets, main character energy only πŸ‘‘πŸ¦‹ β€” this was oggz-diff(1) from the General Commands Manual, signing off πŸ’…βœ¨