dehtmldiff - get usable diff from an HTML page
| Use Case | Command | Description |
|---|---|---|
| Convert HTML diff from a web page | dehtmldiff file.html | Extract a usable diff from an HTML page containing a patch |
| Display help | dehtmldiff --help | Show a short usage message |
| Check version | dehtmldiff --version | Display the version number of dehtmldiff |
dehtmldiff [file...]
dehtmldiff {[--help] | [--version]}
dehtmldiff creates usable diff files from HTML pages. This is useful in the scenario where a patch has been posted to a mailing list viewable via a web page.
The corrected diff is sent to standard output. Note that you will probably need to use the -l option when applying the patch, in order to ignore any whitespace differences there may be.
--helpDisplay a short usage message.
--versionDisplay the version number of dehtmldiff.
The way this command works is fairly primitive; it boils down to some simple text replacements, followed by an unwrapdiff pass. As a result, all of the limitations that apply to unwrapdiff also apply to dehtmldiff.
Tim Waugh <twaugh AT redhat.com> - Package maintainer
Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-03 18:54 @216.73.216.23
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)