DEHTMLDIFF(1)
π DEHTMLDIFF β bestie's guide to yanking a real diff out of an HTML page π
okay so, welcome to dehtmldiff, aka the tool that looks at a sad lil web page and goes "bestieβ¦ there's a diff in there somewhere, let me get it out for you." π«Ά
β¨ NAME β¨
dehtmldiff β get usable diff from an HTML page πΈ
π SYNOPSIS π
dehtmldiff [file...]
dehtmldiff {[--help] | [--version]}
like, yes, that's the whole vibe check. you either hand it some files, or you ask it for help or its version. that's it, that's the girl. π
π¦ DESCRIPTION π¦
okay so here's the tea β β dehtmldiff creates usable diff files from HTML pages. iconic behaviour, no cap.
and why would you even want that, you ask? because of this specific scenario: a patch got posted to a mailing list, and the only way you can see it is through a web page. which, lowkey tragic. the HTML mangles it all up and it's giving β¨unusableβ¨.
so the corrected diff gets sent to standard output. periodt. π«
β οΈ heads up bestie: you will probably need to use the -l option when applying the patch, so that you ignore any whitespace differences that might be lurking in there. don't skip this, i'm begging π
π OPTIONS π
--helpβ shows you a short usage message. quick lil "hey here's how i work" moment π--versionβ shows you the version number ofdehtmldiff. the "how old am i" reveal πββοΈ
π LIMITATIONS π
okay we need to be real for a sec. π
the way this command works is fairly primitive β it literally boils down to some simple text replacements, followed by an unwrapdiff pass. that's the whole trick. no magic, no fancy parsing, just vibes and find-and-replace.
and because of that: all of the limitations that apply to unwrapdiff also apply to dehtmldiff. every single one. it's giving "the flaws are inherited, sorry babe." π
π AUTHOR π
Tim Waugh <twaugh@redhat.com>
- Package maintainer π
and that's the whole page, bestie β¨ go forth and de-HTML your diffs, you absolute main character π«Άπ
patchutils Β· 17 January 2003 Β· mwah, bye ππ
π¦ where this page comes from
- alpine 3.22: patchutils-doc 0.4.2-r3 Β· GPL-2.0-or-later
- alpine 3.23: patchutils-doc 0.4.4-r0 Β· GPL-2.0-or-later
- alpine 3.24: patchutils-doc 0.4.5-r0 Β· GPL-2.0-or-later
- arch rolling: patchutils 0.4.5-1 Β· GPL-2.0-only
- centos-stream 10: patchutils 0.4.2-15.el10 Β· GPL-2.0-or-later
- centos-stream 9: patchutils 0.4.2-7.el9 Β· GPLv2+
- debian bookworm: patchutils 0.4.2-1 Β· GPL-2.0-or-later
- debian trixie: patchutils 0.4.2-1 Β· GPL-2.0-or-later
- fedora 43: patchutils 0.4.2-16.fc43 Β· GPL-2.0-or-later
- fedora 44: patchutils 0.4.4-3.fc44 Β· GPL-2.0-or-later
- opensuse-leap 16.0: patchutils 0.4.2-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: patchutils 0.4.2-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: patchutils 0.4.2-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: patchutils 0.4.2-160000.2.2 Β· GPL-2.0-or-later
- ubuntu jammy: patchutils 0.4.2-1build2 Β· GPL-2.0-or-later
- ubuntu noble: patchutils 0.4.2-1build3 Β· GPL-2.0-or-later
- ubuntu questing: patchutils 0.4.2-1build3
- ubuntu resolute: patchutils 0.4.3-1ubuntu1 Β· GPL-2.0-or-later
- ubuntu stonking: patchutils 0.4.5-1ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms