Linux Command Library
commands
Commands
basic
Basic
tips
Tips

dehtmldiff

get usable diff from an HTML page

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.

--help

Display a short usage message.

--version

Display 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@redhat.com>

Package maintainer

play store download app store download
Imprint
Sonnenallee 29, 12047 Berlin, Germany
e-mail: sschubert89@gmail.com

Privacy policy
Successfully copied